mirror of
https://git.proxmox.com/git/mirror_lxc
synced 2025-08-16 07:19:16 +00:00
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: TAMUKI Shoichi <tamuki@linet.gr.jp> Acked-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
parent
0520c252da
commit
aadd458215
@ -237,6 +237,10 @@ configure_plamo() {
|
|||||||
rm -f $rootfs/etc/rc.d/rc.inet1.tradnet
|
rm -f $rootfs/etc/rc.d/rc.inet1.tradnet
|
||||||
sh /tmp/netconfig.rconly
|
sh /tmp/netconfig.rconly
|
||||||
rm -f /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
|
return 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user