fix coresched locating cgroup and reduce verbosity
[nodemanager.git] / Makefile
index 824138e..c5c719e 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -135,7 +135,7 @@ NODEURL:=root@$(NODE):/
 endif
 
 # this is for lxc only, we need to exclude the vs stuff that otherwise messes up everything on node
-# xxx keep this in sync with setup.spec
+# WARNING: keep this in sync with setup.spec
 LXC_EXCLUDES= --exclude sliver_vs.py --exclude coresched_vs.py --exclude drl.py
 
 # run with make SYNC_RESTART=false if you want to skip restarting nm
@@ -198,3 +198,11 @@ else
        @echo "FETCHING key"
        +scp $(KEYURL) $@
 endif
+
+########## exp. too
+SLICE=inri_sl1
+
+syncvinit:
+       $(RSYNC) sliver-systemd/vinit.st* $(NODEURL)/vservers/$(SLICE)/usr/bin/
+       $(RSYNC) sliver-systemd/vinit.service $(NODEURL)/vservers/$(SLICE)/usr/lib/systemd/system/
+       echo "remember to run 'systemctl --system daemon-reload' within this slice"