How-to add a virtual disk to VM using vss-cli
(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-cli compute vm ls -f name casx2
uuid name
------------------------------------ ------------------
<uuid> 1306P-arborexcasx2
Get the current disks:
$ vss-cli compute vm get <uuid-or-vmname>
Uuid : <uuid>
Label : Hard disk 1
Capacity Gb : 300
Label : Hard disk 2
Capacity Gb : 3
Add 10GB disk
$ vss compute vm set <name-or-vm-id> disk mk --capacity 10
For more information, please refer to Manage Virtual Disks from the VSS CLI official documentation site.
Looking for labels? They can now be found in the details panel on the floating action bar.
Related content
Manage Virtual Disks with the vss-cli
Manage Virtual Disks with the vss-cli
More like this
VSS Command Line Interface (vss-cli) v0.10.4🎉
VSS Command Line Interface (vss-cli) v0.10.4🎉
More like this
VSS Command Line Interface (vss-cli) v0.9.0🎃
VSS Command Line Interface (vss-cli) v0.9.0🎃
More like this
VSS Command Line Interface (vss-cli) v2021.6.0 🎉
VSS Command Line Interface (vss-cli) v2021.6.0 🎉
More like this
VSS Command Line Interface (vss-cli) v2022.9.0
VSS Command Line Interface (vss-cli) v2022.9.0
More like this
VSS Command Line Interface (vss-cli) v2022.11.0
VSS Command Line Interface (vss-cli) v2022.11.0
More like this
University of Toronto - Since 1827