(Optional) Depending on a setup/installation, we might want to activate a specific virtual environment:
. ~/venvs/vsscliENV4/bin/activate
Search for VM uuid by name:
(vsscliENV)$ vss compute vm ls -f name casx2 uuid name ------------------------------------ ------------------ 50129712-bdd4-cc61-7c5c-c46a39830e26 1306P-arborexcasx2
Get the current disks:
$ vss compute vm get 50129712-bdd4-cc61-7c5c-c46a39830e26 disk Uuid : 50129712-bdd4-cc61-7c5c-c46a39830e26 Label : Hard disk 1 Capacity Gb : 300 Label : Hard disk 2 Capacity Gb : 3
Add 10GB disk
$ vss compute vm set 50129712-bdd4-cc61-7c5c-c46a39830e26 disk mk --capacity 10