Created
January 30, 2015 20:43
-
-
Save akrzos/6f7c3ec522416ab68624 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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