Commit 25adb8fa by TAMUKI Shoichi Committed by Stéphane Graber

lxc-plamo: fix for configuring network interface

Fix configure_plamo so as not to configure wireless network interface in containers even if the host uses wireless network interface. Signed-off-by: 's avatarTAMUKI Shoichi <tamuki@linet.gr.jp> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 9c244686
......@@ -237,6 +237,10 @@ configure_plamo() {
rm -f $rootfs/etc/rc.d/rc.inet1.tradnet
sh /tmp/netconfig.rconly
rm -f /tmp/netconfig.rconly
ed - $rootfs/etc/rc.d/rc.inet1.tradnet <<- "EOF"
g/cmdline/s/if/& false \&\&/
w
EOF
return 0
}
......
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