Automation Inc.

Finding the perfect blend between fun and money

Ruby ESX 0.3 released

By rubiojr on January 3, 2012

New patch from Salvador Girones (multiple NICs, custom VM Network), better test coverage and a some sugar.

CHANGELOG

  • Better test coverage
  • added poweron-vm, poweroff-vm and destroy-vm subcommands to ‘esx’ script
  • Added custom network support to the ‘esx’ script (–vm-network)
  • Host.create_vm now supports creating a VM with multiple NICs
  • Minor README tweaks

New ‘esx’ sub-commands

Powering on/off existing VMs

To power on an existing VM:
esx poweron-vm --user root --password secret --vm-name my-foo-vm my-esx-host
To power it off:
esx poweroff-vm --user root --password secret --vm-name my-foo-vm my-esx-host

Creating a new VM with a custom Network/MAC address

esx create-vm --user root --password secret --name my-foo-vm --disk-file tc.vmdk --poweron --vm-network 'foobar' --mac-address 00:01:02:03:04:05 esx-test-host
This will create a VM with one NIC attached to the network ‘foobar’ and a MAC address ’00:01:02:03:04:05′

Destroying and existing VM (disk files included)

esx destroy-vm --user root --password secret --vm-name my-foo-vm esx-test-host

Related

http://github.com/rubiojr/esx

Posted in Uncategorized | Tagged esx, ruby, vmware | Leave a response

Next »

Pages

  • About
  • FrameOS Documentation
  • Opscode Chef RPMs

Tags

airvideo amazon ami boxgrinder capistrano centos chef ec2 el6 esx frameos github google h iphone knife mirror nginx opschef opscode ppa rbel repo rhel rhel6 rsync ruby ruby regex ruby sake scientificlinux script Scripts trac ubuntu vagrant virtualbox vmware

Archives

  • January 2012
  • November 2011
  • October 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • April 2011
  • February 2011
  • December 2010

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org

Copyright © 2012 Automation Inc..

Powered by WordPress and Hybrid.