turn on ntpd in the nodeimage
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Feb 2013 16:18:54 +0000 (17:18 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Wed, 27 Feb 2013 16:18:54 +0000 (17:18 +0100)
config.lxc/nodeimage.post
config.planetlab/nodeimage.post

index d174b07..b4a0383 100644 (file)
@@ -17,6 +17,8 @@ chroot ${vdir} systemctl enable openvswitch.service || :
 chroot ${vdir} systemctl enable network.service || :
 # and turn off NetworkManager if present, as it quite obviously messes with network
 chroot ${vdir} systemctl disable NetworkManager.service || :
+# turn on ntpd
+chroot ${vdir} systemctl enable ntpd.service || :
 # tentatively turn on getty on tty1
 chroot ${vdir} systemctl enable getty@tty1.service || :
 
index 79d54fe..63c3e38 100644 (file)
@@ -20,6 +20,8 @@ chroot ${vdir} /sbin/chkconfig util-vserver on || :
 chroot ${vdir} /sbin/chkconfig network on || :
 # and turn off NetworkManager if present, as it quite obviously messes with network
 chroot ${vdir} /sbin/chkconfig NetworkManager off || :
+# turn on ntpd
+chroot ${vdir} /sbin/chkconfig ntpd on || :
 
 # turn OFF vservers-default ; this is to automatically restart vservers, let nm do that
 chroot ${vdir} /sbin/chkconfig vservers-default off || :