From 5278c90a37dce3a7d81d173db85976a0b36e06f7 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Wed, 18 Mar 2015 11:55:05 +0100 Subject: [PATCH] an attempt to see if avoiding to run initscripts altogether solves the slice re-creation issue --- initscript.py | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.43.0