mirror of
https://github.com/fosslinux/live-bootstrap.git
synced 2026-03-23 11:36:32 +01:00
fix(mirror): bind file mirror server to 0.0.0.0 for qemu guest access via 10.0.2.2
This commit is contained in:
parent
b733cf2526
commit
35a570bc4e
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ class SimpleMirror(socketserver.TCPServer):
|
||||||
"""Simple HTTP mirror from a directory"""
|
"""Simple HTTP mirror from a directory"""
|
||||||
def __init__(self, directory: str):
|
def __init__(self, directory: str):
|
||||||
self.directory = directory
|
self.directory = directory
|
||||||
super().__init__(("localhost", 0), self._handler)
|
super().__init__(("0.0.0.0", 0), self._handler)
|
||||||
|
|
||||||
@property
|
@property
|
||||||
def port(self):
|
def port(self):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue