# used so that if/when you reboot the source roothost you don't have the
# same vserver and IP address running on two machines.
-: ${UTIL_VSERVER_VARS:=$(dirname $0)/util-vserver-vars}
+: ${UTIL_VSERVER_VARS:=/usr/lib/util-vserver/util-vserver-vars}
test -e "$UTIL_VSERVER_VARS" || {
echo "Can not find util-vserver installation; aborting..."
exit 1
seconds.
The -i and -d flags can be used to minimally reconfigure the destination
-vserver (rewrites /etc/vservers/newname.conf and /vservers/newname/etc/hosts)
+vserver (rewrites /etc/vservers/newname.conf and $DEFAULT_VSERVERDIR/newname/etc/hosts)
Options:
-h, --help this help
colon=":"
domain=""
ip=""
-vsroot="/vservers"
+vsroot=$DEFAULT_VSERVERDIR
if [ $# -eq 0 ]; then # Script invoked with no command-line args?
usage