(Optional) Depending on a setup/installation, we might want to activate a specific virtual environment:
Code Block |
---|
. ~/venvs/vsscliENVvsscliENV4/bin/activate |
Search for VM uuid by name:
Code Block |
---|
(vsscliENV)$ vss-cli compute vm ls -f name casx2 uuid name ------------------------------------ ------------------ 50129712-bdd4-cc61-7c5c-c46a39830e26<uuid> 1306P-arborexcasx2 |
Get the current disks:
Code Block |
---|
$ vss-cli compute vm get 50129712<uuid-bdd4-cc61-7c5c-c46a39830e26 diskor-vmname> Uuid : 50129712-bdd4-cc61-7c5c-c46a39830e26<uuid> Label : Hard disk 1 Capacity Gb : 300 Label : Hard disk 2 Capacity Gb : 3 |
Add 10GB disk
Code Block |
---|
$ vss compute vm set 50129712<name-bdd4or-cc61vm-7c5c-c46a39830e26id> disk mk --capacity 10 |
Info |
---|
For more information, please refer to Manage Virtual Disksfrom the VSS CLI official documentation site. |