minor tweaking...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2023-07-01 22:09:38 +03:00
parent a3dd84af4c
commit 09d6c0080e

View File

@ -3,14 +3,32 @@
#
#----------------------------------------------------------------------
source ./.pct-helpers
# config...
CT_DIR=/etc/pve/lxc/
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
;;
*)
;;
esac
# XXX better argument handling / help...
id=$1
to=$2