From: Thierry Parmentelat Date: Wed, 27 Feb 2013 16:18:54 +0000 (+0100) Subject: turn on ntpd in the nodeimage X-Git-Tag: 5.2.1~21 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=8432524ef9f5b6e0e26f6168899ca3e71bd98e11;p=build.git turn on ntpd in the nodeimage --- diff --git a/config.lxc/nodeimage.post b/config.lxc/nodeimage.post index d174b074..b4a03834 100644 --- a/config.lxc/nodeimage.post +++ b/config.lxc/nodeimage.post @@ -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 || : diff --git a/config.planetlab/nodeimage.post b/config.planetlab/nodeimage.post index 79d54fe3..63c3e38f 100644 --- a/config.planetlab/nodeimage.post +++ b/config.planetlab/nodeimage.post @@ -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 || :