Compare commits

..

No commits in common. "dc5397260671492b8bb298ab5f902bec8fbfe67e" and "a3dd84af4cf30939ac6639438ee11112afe11cd2" have entirely different histories.

View File

@ -3,34 +3,14 @@
# #
#---------------------------------------------------------------------- #----------------------------------------------------------------------
source ./.pct-helpers
# config... # config...
CT_DIR=/etc/pve/lxc/ CT_DIR=/etc/pve/lxc/
SHARE_ROOT=/media/shared/ SHARE_ROOT=/media/shared/
#----------------------------------------------------------------------
source ./.pct-helpers
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
case $1 in
-h|--help)
echo "Create a clone and optionally a replate from a CT with directory mounts"
echo
echo "Usage:"
echo " `basename $0` SOURCE_ID CLONE_ID [TEMPLATE_ID]"
echo
exit
;;
-*)
echo "Unknown option: $1"
exit
;;
esac
# XXX better argument handling / help... # XXX better argument handling / help...
id=$1 id=$1
to=$2 to=$2