From 02f5c974cbe71a1d399c71e914a926d80d988070 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 27 Feb 2013 17:18:38 +0100 Subject: [PATCH] turning on ntpd is now done in the nodeimage (post script) directly --- source/steps/InstallWriteConfig.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/source/steps/InstallWriteConfig.py b/source/steps/InstallWriteConfig.py index 8ae3f6d..563a8d4 100644 --- a/source/steps/InstallWriteConfig.py +++ b/source/steps/InstallWriteConfig.py @@ -71,13 +71,6 @@ def Run( vars, log ): utils.sysexec_chroot( SYSIMG_PATH, "ln -sf /usr/share/zoneinfo/UTC /etc/localtime", log ) - # clearly this does not depend on vs / lxc but let's keep it simple - log.write( "Enabling ntp at boot\n" ) - if vars['virt'] == 'vs': - utils.sysexec_chroot( SYSIMG_PATH, "chkconfig ntpd on", log ) - else: - utils.sysexec_chroot( SYSIMG_PATH, "systemctl enable ntpd.service", log ) - log.write( "Creating system directory %s\n" % PLCONF_DIR ) if not utils.makedirs( "%s/%s" % (SYSIMG_PATH,PLCONF_DIR) ): log.write( "Unable to create directory\n" ) -- 2.43.0