X-Git-Url: http://git.onelab.eu/?p=bootmanager.git;a=blobdiff_plain;f=source%2Fsteps%2FChainBootNode.py;fp=source%2Fsteps%2FChainBootNode.py;h=9c1e06c149e085fcc7e1cca36b07f3f3f501b202;hp=995d4eaaf45e4332a32c799e998a39d8db43e3ac;hb=3a2a07818ad1b9a374a7ec78e8c4573a043dc338;hpb=5648d6ec59f9875eb55544fec688b81e33cffab2 diff --git a/source/steps/ChainBootNode.py b/source/steps/ChainBootNode.py index 995d4ea..9c1e06c 100644 --- a/source/steps/ChainBootNode.py +++ b/source/steps/ChainBootNode.py @@ -114,7 +114,10 @@ def Run(vars, log): if (vars['ONE_PARTITION'] != '1'): try: - cmd = "/usr/bin/env python /usr/share/NodeManager/conf_files.py --noscripts" + # used to call /usr/bin/env python here, but as nodemanager + # now exists both in python2 and python3, we use a shebang + # in conf_files instead + cmd = "/usr/share/NodeManager/conf_files.py --noscripts" utils.sysexec_chroot(SYSIMG_PATH, cmd, log) except IOError as e: log.write("conf_files failed with \n {}".format(e))