X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lbuild-initvm.sh;h=1f0e718f7e3e434879725e0049986251c6773356;hb=2d32d9d4baa2916386063103319e217e27f2b2d7;hp=d312d509f57846b65e4819b31e540a8f9a4c606e;hpb=82307f6d493cb05ea05d8b5eca17ad2f9d02f71a;p=build.git diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index d312d509..1f0e718f 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -30,7 +30,7 @@ function lxcroot () { # XXX fixme : when creating a 32bits VM we need to call linux32 as appropriate...s -DEFAULT_FCDISTRO=f33 +DEFAULT_FCDISTRO=f39 DEFAULT_PLDISTRO=lxc DEFAULT_PERSONALITY=linux64 DEFAULT_MEMORY=3072 @@ -509,6 +509,7 @@ EOF function uuid() { python -c "import uuid; print(uuid.uuid1())" } +# xxx this seems to be no longer needed ? function write_guest_networkmanager_natip() { cat << EOF EOF @@ -520,20 +521,13 @@ id=Wired connection 1 uuid=$(uuid) type=ethernet autoconnect-priority=-999 -interface-name=${VIF_GUEST} - -[ethernet] +# setting this seems to be counter-productive +# interface-name=${VIF_GUEST} [ipv4] address1=${GUEST_IP}/${MASKLEN},${GATEWAY} -dhcp-hostname=${GUEST_HOSTNAME} -method=auto - -[ipv6] -addr-gen-mode=default -method=auto - -[proxy] +#dhcp-hostname=${GUEST_HOSTNAME} +method=manual EOF }