From: Thierry Parmentelat Date: Tue, 14 Jan 2014 14:27:02 +0000 (+0100) Subject: avoid using conf_files initscript that might go when moving to systemd X-Git-Tag: bootmanager-5.2-2~2 X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=commitdiff_plain;h=5596c3347951b1da8136989073334b8df05b4d87 avoid using conf_files initscript that might go when moving to systemd --- diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index 988d96b..5e7babf 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -109,8 +109,9 @@ def Run( vars, log ): # update configuration files log.write( "Updating configuration files.\n" ) + # avoid using conf_files initscript as we're moving to systemd on some platforms try: - cmd = "/etc/init.d/conf_files start --noscripts" + cmd = "/usr/bin/env python /usr/share/NodeManager/conf_files.py --noscripts" utils.sysexec_chroot( SYSIMG_PATH, cmd, log ) except IOError, e: log.write("conf_files failed with \n %s" % e)