X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=lbuild-initvm.sh;h=8a97233cb9fdb8650f3c62f1a21e732168b15a05;hb=5d0f2ee2524724a97c0b8505fe784a8da9b12c6d;hp=b26375bf1e4262ba74d76b920c529ef619d6eb3b;hpb=1f4f80e0c7dc71ef79614227c195139a56d1421e;p=build.git diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index b26375bf..8a97233c 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=f31 +DEFAULT_FCDISTRO=f33 DEFAULT_PLDISTRO=lxc DEFAULT_PERSONALITY=linux64 DEFAULT_MEMORY=3072 @@ -312,7 +312,8 @@ function fedora_configure_systemd() { ln -sf /dev/null ${lxc_root}/etc/systemd/system/"getty@.service" rm -f ${lxc_root}/etc/systemd/system/getty.target.wants/*service || : # can't seem to handle this one with systemctl - chroot ${lxc_root} $personality chkconfig network on +# second part should trigger starting with fedora31, where the network target is not manually manageable + chroot ${lxc_root} $personality chkconfig network on || chroot ${lxc_root} $personality systemctl enable NetworkManager } # overwrite container yum config