Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
coelacant1 committed Jan 15, 2025
2 parents 349f126 + 639f2a7 commit 2f24c20
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions VirtualMachines/Options/BulkToggleProtectionMode.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,12 +42,12 @@ for (( VMID=START_VM_ID; VMID<=END_VM_ID; VMID++ )); do
echo "Updating protection mode for VM ID: $VMID"

# Set the protection mode
qm set $VMID --protected $PROTECTION_SETTING
qm set $VMID --protection $PROTECTION_SETTING
echo " - Protection mode set to '$ACTION' for VM ID: $VMID."
else
echo "VM ID: $VMID does not exist. Skipping..."
fi

done

echo "Protection mode toggle process completed!"
echo "Protection mode toggle process completed!"

0 comments on commit 2f24c20

Please sign in to comment.