diff --git a/deployment/proxmox/remove.sh b/deployment/proxmox/remove.sh new file mode 100755 index 0000000..259eeb1 --- /dev/null +++ b/deployment/proxmox/remove.sh @@ -0,0 +1,137 @@ +#!/usr/bin/env sh +set -euC + +################################################################################ +## Constants + +readonly apiurl=https://192.168.51.81:8006/api2/json + +## FIXME: There seems to be a problem with file upload where the task is +## registered to `node051` no matter what node we are actually uploading to? For +## now, let us just use `node051` everywhere. +readonly node=node051 + +################################################################################ +## Parse arguments + +username= +password= +vmids= + +help () { + cat <