From: Thierry Parmentelat Date: Tue, 21 Jan 2014 20:41:00 +0000 (+0100) Subject: bugfix X-Git-Tag: before_libvirt_121~63 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=99463cc9da1b3be9260f9b29d4fa1ed14a42b39e bugfix --- 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"