VSS Command Line Interface v0.3.0

VSSCLI v0.3.0 is available for download via PyPI or GitLab. Latest version includes the following new features and bug fixes:

  • New feature
    • Ability to obtain virtual machine guest operating system configuration

      vss compute vm get <uuid> guest-os
      Uuid                : <uuid>
      Guest Full Name     : Ubuntu Linux (64-bit)
      Guest Id            : ubuntu64Guest
    • Set a new virtual machine operating system configuration consists in the following steps:

      # Get desired operating system Id (guestId)
      vss compute os ls -f guestId,like,cent%
        id  guestId        guestFullName
      ----  -------------  -----------------------
         8  centosGuest    CentOS 4/5/6/7
        11  centos64Guest  CentOS 4/5/6/7 (64-bit)
      
      
      # Set new guest os configuration:
      vss compute vm set <uuid> guest-os centos64Guest 
      
      

      This action will NOT install the guest operating system. Reconfiguring the OS in the virtual machine just presents the right virtual hardware according to the to-be-installed operating system.

Remember, VSSCLI documentation is now available in EIS - VSS - VSSCLI

Upgrade or install PyVSS as follows:

# from version 0.2.5 you can run
vss upgrade
# upgrade
pip install vsscli --upgrade

# install
pip install vsscli

Docker images available: uofteis/vsscli:py27:

docker run -it -v /tmp:/data \
-e VSS_API_USER=user_here -e VSS_API_USER_PASS=user_pass_here \
-e VSS_DEFAULT_OUTPUT=json \
uofteis/vsscli bash

For more information, please refer to the official documentation site.