From ccdbfde0e9cda749d790f901247f1c524177c951 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 27 Nov 2019 09:26:09 +0100 Subject: [PATCH] attempt to start the network in the f31 vms --- lbuild-initvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.43.0