Setting tag myplc-7.0-0
[build.git] / config.lxc / nodeimage.post
index 3231bc5..4bc4a34 100644 (file)
@@ -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