From: Thierry Parmentelat Date: Wed, 18 Mar 2015 10:55:05 +0000 (+0100) Subject: an attempt to see if avoiding to run initscripts altogether solves the slice re-creat... X-Git-Tag: nodemanager-5.2-16~6 X-Git-Url: http://git.onelab.eu/?p=nodemanager.git;a=commitdiff_plain;h=5278c90a37dce3a7d81d173db85976a0b36e06f7 an attempt to see if avoiding to run initscripts altogether solves the slice re-creation issue --- diff --git a/initscript.py b/initscript.py index 8e6e4a3..152d25f 100644 --- a/initscript.py +++ b/initscript.py @@ -70,6 +70,10 @@ class Initscript: """ suitable for systemd-based VMs """ + # how are we wrt slice re-creation if we just kill this stuff + # of course no initscript will trigger at all ... + return + vinit_source = "/usr/share/NodeManager/sliver-systemd/vinit.service" vinit_unit_file = "/vservers/%s/usr/lib/systemd/system/vinit.service" % self.name enable_link = "/vservers/%s/etc/systemd/system/multi-user.target.wants/vinit.service" % self.name