[options] may be:
network Network Configuration
update Update Management
version Version Information
service Service Management
Use vamicliThe vamicli is a command-line tool that is available on all virtual appliances built using VMware Studio and it provides a subset of the functionality of the VAMI web interface. Using the "update" operation, you can check for available updates as well as performing the installation of an update.
to see a list of options.
To check for the latest update just like you would using the VAMI web interface, you would run the following command:
vamicli update --checkTo install the latest update, you would run the following command:
vamicli update --install latest --accepteulaHere is a screenshot example of going through both of these commands on a VIN 1.2 virtual appliance and then upgrading to VIN 2.0:
For those of you who read my previous article and wish to configure a custom update repository without using the VAMI web interface, you can add the following configuration to /opt/vmware/var/lib/vami/update/provider/provider-runtime.xml where value specifies the HTTP address to your update repository as you would configure using the VAMI web interface.
python -c "import base64; print base64.b64encode('password')"Note: The configuration changes above go into effect immediately and you can then use vamicli to perform both check and install operations.