Skip to content

Instantly share code, notes, and snippets.

@akrzos
Created January 30, 2015 20:43
Show Gist options
  • Save akrzos/6f7c3ec522416ab68624 to your computer and use it in GitHub Desktop.
Save akrzos/6f7c3ec522416ab68624 to your computer and use it in GitHub Desktop.
# List API:
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 --dump_api
# List VMs:
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 -l
# Power on VM:
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 --poweron -v vm-test
# Power off VM:
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 --poweroff -v vm-test
# Provision a VM:
./manageiq-api-example.py -u admin -p smartvm 10.12.23.227 --provision -v test-pro-2 -t Test-Provision-VM-360-04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment