Commit e84bebad authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Add install, and remove the overwrite of bootvnodes and

vnodesetup with a symlink to vnodectl. mkvnode now exports the same
API as mkjail, so we can use those existing scripts.
parent 0837d5db
# #
# Copyright (c) 2000-2008 University of Utah and the Flux Group. # Copyright (c) 2000-2009 University of Utah and the Flux Group.
# All rights reserved. # All rights reserved.
# #
...@@ -259,9 +259,8 @@ openvz-install: dir-install ...@@ -259,9 +259,8 @@ openvz-install: dir-install
$(INSTALL) -m 755 $(SRCDIR)/openvz/ $(BINDIR)/ $(INSTALL) -m 755 $(SRCDIR)/openvz/ $(BINDIR)/
$(INSTALL) -m 755 $(SRCDIR)/vnodectl $(BINDIR)/ $(INSTALL) -m 755 $(SRCDIR)/vnodectl $(BINDIR)/
echo "openvz" > $(ETCDIR)/genvmtype echo "openvz" > $(ETCDIR)/genvmtype
-ln -sf $(BINDIR)/vnodectl $(BINDIR)/vnodesetup
-ln -sf $(BINDIR)/vnodectl $(BINDIR)/bootvnodes
$(INSTALL) -m 755 $(SRCDIR)/openvz/ $(BINDIR)/ $(INSTALL) -m 755 $(SRCDIR)/openvz/ $(BINDIR)/
-ln -sf $(BINDIR)/ /etc/vz/conf/vps.mount -ln -sf $(BINDIR)/ /etc/vz/conf/vps.mount
$(INSTALL) -m 755 $(SRCDIR)/openvz/ $(BINDIR)/ $(INSTALL) -m 755 $(SRCDIR)/openvz/ $(BINDIR)/
-ln -sf $(BINDIR)/ /etc/vz/conf/vps.umount -ln -sf $(BINDIR)/ /etc/vz/conf/vps.umount
$(INSTALL) -m 755 $(SRCDIR)/ $(BINDIR)/
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