mirror of
https://github.com/flynx/proxmox-utils.git
synced 2025-10-28 10:40:07 +00:00
...
Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
parent
e0165aa370
commit
d7787bedcf
@ -79,8 +79,13 @@ if ! [ -z "$DRY_RUN" ] \
|
|||||||
|| [ -e "$FROM_THEME_DIR" ] ; then
|
|| [ -e "$FROM_THEME_DIR" ] ; then
|
||||||
# instance id's...
|
# instance id's...
|
||||||
# XXX not sure how to deal with $DRY_RUN here...
|
# XXX not sure how to deal with $DRY_RUN here...
|
||||||
FROM_INSTANCEID=$(lxc-attach $FROM -- turnkey-occ config:system:get instanceid)
|
if [ -z $DRY_RUN ] ; then
|
||||||
TO_INSTANCEID=$(lxc-attach $TO -- turnkey-occ config:system:get instanceid)
|
FROM_INSTANCEID=$(lxc-attach $FROM -- turnkey-occ config:system:get instanceid)
|
||||||
|
TO_INSTANCEID=$(lxc-attach $TO -- turnkey-occ config:system:get instanceid)
|
||||||
|
else
|
||||||
|
FROM_INSTANCEID=FROM
|
||||||
|
TO_INSTANCEID=TO
|
||||||
|
fi
|
||||||
|
|
||||||
# full...
|
# full...
|
||||||
if [ "$MIGRATE_CACHE" == "full" ] ; then
|
if [ "$MIGRATE_CACHE" == "full" ] ; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user