Commit 7ef9c285 authored by Kirill Smelkov's avatar Kirill Smelkov

net: Make sure at least loopback works

Before this change even ping 127.0.0.1 was failing:

	root@deco:~# ping 127.0.0.1
	connect: Network is unreachable
parent 4a1010f2
...@@ -225,6 +225,7 @@ def main(): ...@@ -225,6 +225,7 @@ def main():
mount("none", slappart + "/sys", "sysfs") mount("none", slappart + "/sys", "sysfs")
# TODO setup networking # TODO setup networking
os.system("/sbin/ifconfig lo 127.0.0.1") # XXX at least loopback works
# chroot to container # chroot to container
slappart = abspath(slappart) slappart = abspath(slappart)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment