From: Thierry Parmentelat Date: Wed, 25 Jun 2014 13:09:15 +0000 (+0200) Subject: create /etc/sysconfig/network on f18|f20 as this sometimes is missing X-Git-Tag: 5.3.6~19 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=94e5427617c8969a2beb04242c2e078726f00a63 create /etc/sysconfig/network on f18|f20 as this sometimes is missing (I suspect dhclient creates it when we do not specify create-vm.sh -s...) --- diff --git a/lbuild-initvm.sh b/lbuild-initvm.sh index df78c11f..41eac079 100755 --- a/lbuild-initvm.sh +++ b/lbuild-initvm.sh @@ -214,6 +214,9 @@ function fedora_configure() { # set the hostname case "$fcdistro" in f18|f2?) + cat < ${lxc_root}/etc/sysconfig/network +NETWORKING=yes +EOF cat < ${lxc_root}/etc/hostname $GUEST_HOSTNAME EOF