VSS Command Line Interface (vss-cli) v2021.8.0 🎉
VSS-CLI v2021.8.0 is available for download via PyPI or GitLab. Latest version includes the following improvements and bug fixes:
Improvements
compute vm mk:
new --template option (#453)
Commands:
- compute vm mk shell
- compute vm mk from-template
- compute vm mk from-spec
- compute vm mk from-clone
- compute vm mk from-clib
A new --template sets the resulting virtual machine as template. For instance, to duplicate a virtual machine template with a minimal modification:
vss-cli compute vm mk from-template \ --source my-template --template \ --description 'slightly modified template' \ --client EIS --os ubuntu64Guest --folder group-v2658 -n PUBLIC \ --disk '{"capacity_gb": 20, "scsi": 0}' --disk '{"capacity_gb": 1024, "scsi": 1}' \ --scsi '{"type": "lsilogic", "bus": 0}' --scsi '{"type": "paravirtual", "bus": 1}' \ my-new-template
compute vm mk:
new --cores-per-socket option (#454)
Commands:
- compute vm mk shell
- compute vm mk from-template
- compute vm mk from-spec
- compute vm mk from-clone
- compute vm mk from-clib
The --cores-per-socket option allows to define an advanced CPU configuration for a new virtual machine. To calculate virtual machine CPU sockets, divide the number of CPUs by the number of cores per socket.
Refer to the Setting the number of cores per CPU in a virtual machine (1010184) KB article for further details and per operating system limitations.
Creating a virtual machine with 8 CPUs in 2 CPU sockets, the --cores-per-socket value should be 4 as follows:
vss-cli compute vm mk shell \ --description 'new virtual machine' \ --cpu 8 --cores-per-socket 4 \ --client EIS --os ubuntu64Guest --folder group-v2658 -n PUBLIC \ --disk '{"capacity_gb": 20, "scsi": 0}' --disk '{"capacity_gb": 1024, "scsi": 1}' \ --scsi '{"type": "lsilogic", "bus": 0}' --scsi '{"type": "paravirtual", "bus": 1}' \ my-new-vm
compute vm set cpu count:
--cores-per-socket option (#455)
To update an existing VM, use the command compute vm set <id> set cpu count --cores-per-socket. For example:
compute vm set vm-3457 cpu count --cores-per-socket 4 8
To update cores per socket configuration the virtual machine must be powered off.
core:
update pyvss from v2021.6.8 to v2021.8.0 (#456)
Bug Fixes
compute vm set controller scsi rm:
missing verb in removal confirmation (#452)
Upgrade
Remember, VSS-CLI documentation is now available in VSS-CLI and the full Change Log is available here. Upgrade or install VSS-CLI as follows:
# using vss-cli vss-cli upgrade # upgrade with pip pip install vss-cli --upgrade # install pip install vss-cli
For more information, please refer to the official documentation site.
University of Toronto - Since 1827