From 9152512679010254b284e3f8f648f696e0bc7888 Mon Sep 17 00:00:00 2001 From: Koushik Dutta Date: Thu, 12 Dec 2024 10:57:48 -0800 Subject: [PATCH] proxmox: use restore storage for reset as well --- install/proxmox/install-scrypted-proxmox.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install/proxmox/install-scrypted-proxmox.sh b/install/proxmox/install-scrypted-proxmox.sh index 9358f1ec69..f1d7152a82 100644 --- a/install/proxmox/install-scrypted-proxmox.sh +++ b/install/proxmox/install-scrypted-proxmox.sh @@ -124,7 +124,7 @@ then fi pct stop $VMID 2>&1 > /dev/null -pct restore $VMID $SCRYPTED_TAR_ZST $@ $RESTORE_STORAGE +pct restore $VMID $SCRYPTED_TAR_ZST $RESTORE_STORAGE $@ if [ "$?" != "0" ] then @@ -249,7 +249,7 @@ then VMID=$RESTORE_VMID echo "Restoring with reset image..." - pct restore --force 1 $VMID *.tar $@ + pct restore --force 1 $VMID *.tar $RESTORE_STORAGE $@ echo "Restoring volumes..." move_volume $SCRYPTED_BACKUP_VMID $VMID mp0 hide-warning