X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=config.lxc%2Fnodeimage.post;h=4bc4a34fd61526ea9eaf517c4be519eb5ded7b53;hb=cc5a9338d1528a7fec60f496bfba7b8b28a80539;hp=3231bc5cbc3d7cd46f99201db370155c4c670c51;hpb=67d008d2f55ba2ec0b36b4493e27c94c8ab37149;p=build.git diff --git a/config.lxc/nodeimage.post b/config.lxc/nodeimage.post index 3231bc5c..4bc4a34f 100644 --- a/config.lxc/nodeimage.post +++ b/config.lxc/nodeimage.post @@ -14,9 +14,13 @@ rm -rf ${vdir}/etc/yum.conf ${vdir}/etc/yum.repos.d # turn ON openvswitch as it is required for the privatebridge nm plugin chroot ${vdir} systemctl enable openvswitch.service || : # enabling network as it ends up turned off on systems that come with NetworkManager, starting with fedora9 -chroot ${vdir} systemctl enable network.service || : +chroot ${vdir} systemctl disable network.service || : # and turn off NetworkManager if present, as it quite obviously messes with network -chroot ${vdir} systemctl disable NetworkManager || : +chroot ${vdir} systemctl enable NetworkManager.service || : +# turn on ntpd +chroot ${vdir} systemctl enable ntpd.service || : +# tentatively turn on getty on tty1 +chroot ${vdir} systemctl enable getty@tty1.service || : # Disable splaying of cron. echo > ${vdir}/etc/sysconfig/crontab @@ -40,6 +44,6 @@ EOF #################### historical notes - see config.planetlab/nodeimage.post # xxx turning OFF selinux # there used to be some code for that in the historical/vserver version -# none of that code seems applicable in f16 anylonger - +# none of that code seems applicable in f16 any longer +# # also a horrible hack to the network initscripts has been removed