Skip to content

Commit

Permalink
proxmox: script language cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Oct 17, 2024
1 parent e21d9c3 commit 38038d5
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions install/proxmox/install-scrypted-proxmox.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,20 +45,23 @@ pct config $VMID
if [ "$?" == "0" ]
then
echo ""
echo "==============================================================="
echo "Existing container $VMID found."
echo "Please choose from the following options to resolve this error."
echo "==============================================================="
echo ""
echo "To reinstall and reset Scrypted, run this script with --force to overwrite the existing container."
echo "1. To reinstall and reset Scrypted, run this script with --force to overwrite the existing container."
echo "THIS WILL WIPE THE EXISTING CONFIGURATION:"
echo ""
echo "bash $0 --force"
echo ""
echo "To reinstall Scrypted and and retain existing configuration, run this script with the environment variable SCRYPTED_RESTORE=true."
echo "2. To reinstall Scrypted and and retain existing configuration, run this script with the environment variable SCRYPTED_RESTORE=true."
echo "This preserve existing data. Creating a backup within Scrypted is highly recommended in case the reset fails."
echo "THIS WILL WIPE ADDITIONAL VOLUMES SUCH AS NVR STORAGE. NVR volumes will need to be readded after the restore:"
echo ""
echo "SCRYPTED_RESTORE=true bash $0"
echo ""
echo "To install an additional new Scrypted container, run this script with the environment variable specifying"
echo "3. To install an additional new Scrypted container, run this script with the environment variable specifying"
echo "the new VMID=<number>. For example, to create a new LXC with VMID 12345:"
echo ""
echo "VMID=12345 bash $0"
Expand Down

0 comments on commit 38038d5

Please sign in to comment.