diff --git a/infra/proxmox-provision.sh b/infra/proxmox-provision.sh index e9a9f86a..b1f7fc7d 100755 --- a/infra/proxmox-provision.sh +++ b/infra/proxmox-provision.sh @@ -7,7 +7,7 @@ set -euC ## 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 +node=node051 readonly tmpdir=/tmp/proxmox-provision-$RANDOM mkdir $tmpdir @@ -69,6 +69,7 @@ while [ $# -gt 0 ]; do --api-url|--api_url) readonly api_url="$1"; shift ;; --username) readonly username="$1"; shift ;; --password) readonly password="$1"; shift ;; + --node) readonly node="$1"; shift ;; --debug) debug=true ;; diff --git a/infra/proxmox-remove.sh b/infra/proxmox-remove.sh index e2795a01..3d468173 100755 --- a/infra/proxmox-remove.sh +++ b/infra/proxmox-remove.sh @@ -7,7 +7,7 @@ set -euC ## 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 +node=node051 readonly tmpdir=/tmp/proxmox-remove-$RANDOM mkdir $tmpdir @@ -59,6 +59,7 @@ while [ $# -gt 0 ]; do --api-url|--api_url) readonly api_url="$1"; shift ;; --username) readonly username=$1; shift ;; --password) readonly password=$1; shift ;; + --node) readonly node="$1"; shift ;; -h|-\?|--help) help; exit 0 ;;