Instead of parsing file names and basing the commands on those, store the commands in files, so that you can edit files to change which commands are run. This makes the file names for the golden files match the command being run, other than replacing / with _. To add commands for golden files, edit the files in the spec/routes/api/cli/golden-file-commands folder.
12 lines
566 B
Plaintext
12 lines
566 B
Plaintext
! Invalid arguments for vm create subcommand (public_key is required)
|
|
|
|
Usage: ubi vm location/vm-name create [options] public_key
|
|
|
|
Options:
|
|
-6, --ipv6-only do not enable IPv4
|
|
-b, --boot-image=image_name boot image (ubuntu-noble,ubuntu-jammy,debian-12,almalinux-9)
|
|
-p, --private-subnet-id=id place VM into specific private subnet
|
|
-s, --size=size server size (standard-{2,4,8,16,30,60})
|
|
-S, --storage-size=size storage size (40, 80)
|
|
-u, --unix-user=username username (default: ubi)
|