git://git.onelab.eu
/
build.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Setting tag vsys-0.99-4
[build.git]
/
config.lxc
/
nodeimage.post
diff --git
a/config.lxc/nodeimage.post
b/config.lxc/nodeimage.post
index
3231bc5
..
4bc4a34
100644
(file)
--- 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
# 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
en
able network.service || :
+chroot ${vdir} systemctl
dis
able network.service || :
# and turn off NetworkManager if present, as it quite obviously messes with network
# 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
# 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
#################### 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
# also a horrible hack to the network initscripts has been removed