Commit a92d816e authored by Leigh B Stoller's avatar Leigh B Stoller

Install prunelvms and prunelvms.cron. Install rc0.d scripts; when

doing a halt you go to runlevel 0 instead of 3 (reboot), so tbprepare
was not being run inside XEN containers.
parent 948c2d53
#
# Copyright (c) 2000-2012 University of Utah and the Flux Group.
# Copyright (c) 2000-2013 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -156,6 +156,7 @@ dir-install:
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(RCDIR)/init.d
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(RCDIR)/rc1.d
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(DEFRUNLVLDIR)
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(RCDIR)/rc0.d
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(RCDIR)/rc6.d
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(ETCDIR)
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(BINDIR)
......@@ -204,9 +205,11 @@ sysetc-install: dir-install ifcfgs
$(INSTALL) -m 755 $(SRCDIR)/testbed $(RCDIR)/init.d/testbed
-ln -sf $(RRCDIR)/init.d/ntpd $(DEFRUNLVLDIR)/S58ntpd
-ln -sf $(RRCDIR)/init.d/testbed $(DEFRUNLVLDIR)/S96testbed
-ln -sf $(RRCDIR)/init.d/testbed $(RCDIR)/rc0.d/K12testbed
-ln -sf $(RRCDIR)/init.d/testbed $(RCDIR)/rc1.d/K12testbed
-ln -sf $(RRCDIR)/init.d/testbed $(RCDIR)/rc6.d/K12testbed
$(INSTALL) -m 755 $(SRCDIR)/tbprepare $(RCDIR)/init.d/tbprepare
-ln -sf $(RRCDIR)/init.d/tbprepare $(RCDIR)/rc0.d/K89tbprepare
-ln -sf $(RRCDIR)/init.d/tbprepare $(RCDIR)/rc1.d/K89tbprepare
-ln -sf $(RRCDIR)/init.d/tbprepare $(RCDIR)/rc6.d/K89tbprepare
$(INSTALL) -m 755 -o root -g $(DIRGROUP) -d $(SYSETCDIR)/cron.pend
......@@ -293,6 +296,8 @@ openvz-install: dir-install
$(INSTALL) -m 755 $(SRCDIR)/vnodectl $(BINDIR)/
$(INSTALL) -m 755 $(SRCDIR)/openvz/create-image $(LBINDIR)/
$(INSTALL) -m 755 $(SRCDIR)/openvz/mkimagecache $(BINDIR)/
$(INSTALL) -m 755 $(SRCDIR)/openvz/prunelvms $(BINDIR)/
$(INSTALL) -m 755 $(SRCDIR)/openvz/prunelvms.cron $(SYSETCDIR)/cron.daily
echo "openvz" > $(ETCDIR)/genvmtype
$(INSTALL) -m 755 $(SRCDIR)/openvz/vzmount-elab.sh $(BINDIR)/
# No destdir in this symlink!
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment