From 99463cc9da1b3be9260f9b29d4fa1ed14a42b39e Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Tue, 21 Jan 2014 21:41:00 +0100 Subject: [PATCH] bugfix --- lbuild-initvm.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index 29d6d4ba..5a6b73c6 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -604,7 +604,7 @@ function write_lxc_xml_test () { - + @@ -612,7 +612,7 @@ function write_lxc_xml_test () { host-bridge - + EOF @@ -989,8 +989,6 @@ function main () { NETMASK=$(masklen_to_netmask $PRIVATE_MASKLEN) GATEWAY=$PRIVATE_GATEWAY VIF_HOST="i$byte" - BRIDGE_MODE="nat" - BRIDGE_IF="$PRIVATE_BRIDGE" else [[ -z "GUEST_HOSTNAME" ]] && usage @@ -1002,8 +1000,6 @@ function main () { NETMASK=$(masklen_to_netmask $MASKLEN) GATEWAY=$(ip route show | grep default | awk '{print $3}') VIF_HOST="i$(echo $GUEST_HOSTNAME | cut -d. -f1)" - BRIDGE_MODE="bridge" - BRIDGE_IF="PUBLIC_BRIDGE" fi echo "the IP address of container $lxc is $IP, host virtual interface is $VIF_HOST" -- 2.43.0