From: Thierry Parmentelat Date: Wed, 27 Feb 2013 16:18:38 +0000 (+0100) Subject: turning on ntpd is now done in the nodeimage (post script) directly X-Git-Tag: bootmanager-5.2-1~1 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=02f5c974cbe71a1d399c71e914a926d80d988070 turning on ntpd is now done in the nodeimage (post script) directly --- 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" )