#!/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 <