VSS-CLI v2021.8.0 is available for download viaĀ PyPIĀ orĀ GitLab. Latest version includes the following improvements and bug fixes:
Table of Contents maxLevel 3
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:
Code Block |
---|
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.
Note |
---|
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:
Code Block |
---|
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 |
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:
Code Block |
---|
# 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.