X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vbuild-init-lxc.sh;h=96f3d8cdc008074672f099eb1f46e1f5aefe84bb;hb=11a8112c5ead27fe651b14a30cb6ad5d473fac39;hp=11916b7cc8cf3c0363007a0811996f5fe4684f8a;hpb=f5aaa17dcc72230d50a6274a7daf3f72bfa3cff8;p=build.git diff --git a/vbuild-init-lxc.sh b/vbuild-init-lxc.sh index 11916b7c..96f3d8cd 100755 --- a/vbuild-init-lxc.sh +++ b/vbuild-init-lxc.sh @@ -14,12 +14,37 @@ PATH=$(dirname $0):$PATH export PATH DEFAULT_FCDISTRO=f16 DEFAULT_PLDISTRO=planetlab DEFAULT_PERSONALITY=linux64 -DEFAULT_IFNAME=eth0 COMMAND_VBUILD="vbuild-init-lxc.sh" COMMAND_MYPLC="vtest-init-lxc.sh" libvirt_version="1.0.4" + +## stolen from tests/system/template-qemu/qemu-bridge-init +#################### compute INTERFACE_LAN +# use /proc/net/dev instead of a hard-wired list +function gather_interfaces () { + python <