From: Thierry Parmentelat Date: Wed, 27 Nov 2019 08:26:09 +0000 (+0100) Subject: attempt to start the network in the f31 vms X-Git-Tag: last-complete-build-f29~16 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=ccdbfde0e9cda749d790f901247f1c524177c951 attempt to start the network in the f31 vms --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index b26375bf..df10e8ec 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -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