adt-buildvm-ubuntu-cloud -V (return code: 2)
usage: adt-buildvm-ubuntu-cloud [-h] [-a ARCH] [-r CODENAME] [-m URL] [-p URL]
[-s DISK_SIZE] [-o DIR] [-q QEMU_COMMAND] [-v]
[--cloud-image-url URL] [--no-apt-upgrade]
[--post-command POST_COMMAND]
[--metadata METADATA_FILE]
[--userdata USERDATA_FILE] [--timeout SECONDS]
adt-buildvm-ubuntu-cloud: error: unrecognized arguments: --version
adt-buildvm-ubuntu-cloud --help (return code: 0)
usage: adt-buildvm-ubuntu-cloud [-h] [-a ARCH] [-r CODENAME] [-m URL] [-p URL]
[-s DISK_SIZE] [-o DIR] [-q QEMU_COMMAND] [-v]
[--cloud-image-url URL] [--no-apt-upgrade]
[--post-command POST_COMMAND]
[--metadata METADATA_FILE]
[--userdata USERDATA_FILE] [--timeout SECONDS]
optional arguments:
-h, --help show this help message and exit
-a ARCH, --arch ARCH Ubuntu architecture (default: amd64)
-r CODENAME, --release CODENAME
Ubuntu release code name (default: artful)
-m URL, --mirror URL Use this mirror for apt (default:
http://archive.ubuntu.com/ubuntu)
-p URL, --proxy URL Use a proxy for apt (default: none)
-s DISK_SIZE, --disk-size DISK_SIZE
grow image by this size (default: 20G)
-o DIR, --output-dir DIR
output directory for generated image (default: current
directory)
-q QEMU_COMMAND, --qemu-command QEMU_COMMAND
qemu command (default: qemu-system-x86_64)
-v, --verbose Show VM guest and cloud-init output
--cloud-image-url URL
cloud images URL (default: https://cloud-
images.ubuntu.com)
--no-apt-upgrade Do not run apt-get dist-upgrade
--post-command POST_COMMAND
Run shell command in VM after setup
--metadata METADATA_FILE
Custom metadata file for cloud-init.
--userdata USERDATA_FILE
Custom userdata file for cloud-init.
--timeout SECONDS Timeout for cloud-init (default: 3600 s)