From 8432524ef9f5b6e0e26f6168899ca3e71bd98e11 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 27 Feb 2013 17:18:54 +0100 Subject: [PATCH] turn on ntpd in the nodeimage --- config.lxc/nodeimage.post | 2 ++ config.planetlab/nodeimage.post | 2 ++ 2 files changed, 4 insertions(+) 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 || : -- 2.47.0