Skip to content

Commit

Permalink
proxmox: dont show existing container warning on restore
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Oct 17, 2024
1 parent dc9f4b3 commit 264cb04
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions install/proxmox/install-scrypted-proxmox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,15 @@ fi

if [[ "$@" =~ "--force" ]]
then
FORCE=true
IGNORE_EXISTING=true
fi

if [ -z "$FORCE" ]
if [ -n "$SCRYPTED_RESTORE" ]
then
IGNORE_EXISTING=true
fi

if [ -z "$IGNORE_EXISTING" ]
then
echo "Checking for existing container."
pct config $VMID
Expand Down

0 comments on commit 264cb04

Please sign in to comment.