From 5596c3347951b1da8136989073334b8df05b4d87 Mon Sep 17 00:00:00 2001
From: Thierry Parmentelat <thierry.parmentelat@inria.fr>
Date: Tue, 14 Jan 2014 15:27:02 +0100
Subject: [PATCH] avoid using conf_files initscript that might go when moving
 to systemd

---
 source/steps/ChainBootNode.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

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)
-- 
2.47.0