Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jedi4ever/jvspherecontrol

commandline tool to control various settings of a vsphere server
https://github.com/jedi4ever/jvspherecontrol

Last synced: about 1 month ago
JSON representation

commandline tool to control various settings of a vsphere server

Awesome Lists containing this project

README

        

This provides a cmdline interface to some parts of the vsphere API

# Build the jar file:
git clone [email protected]:jedi4ever/jvspherecontrol.git
cd jvspherecontrol
mvn package
ls target/*.jar
target/jvspherecontrol-0.0.4-SNAPSHOT-jar-with-dependencies.jar

# Usage:
$ java -jar jvspherecontrol-0.0.4-SNAPSHOT-jar-with-dependencies.jar

Usage:
list hosts|datacenters|datastores|clusters|networks|users|vms|all|resourcepools
--url
--user
--password

createvm --bootorder
--cdromdatastore
--cdromisopath
--cluster
--cpus
--datacenter
--datastore
--diskdatatastore1..n
--diskmode1..n
--disksize1..n
--memory
--name
--nicconnected1..n
--nicname1..n
--nicnetwork1..n
--nicpxe1..n
--nicstartconnected1..n
--nictype1..n
--omapihost
--omapikeyname
--omapikeyvalue
--omapioverwrite
--omapiport
--omapiregister
--ostype
--overwrite
--password
--pxeinterface
--registermac
--url
--user

omapiregister --hostname
--macaddress
--omapihost
--omapikeyname
--omapikeyvalue
--omapioverwrite
--omapiport
--omapiregister

activatevnc --password
--url
--user
--vmname
--vncpassword
--vncport

deactivatevnc --password
--url
--user
--vmname

sendvnctext --host
--password
--port
--text
--wait