lib/esx.rb in esx-0.1 vs lib/esx.rb in esx-0.1.1

- old
+ new

@@ -1,20 +1,20 @@ require 'rubygems' require 'rbvmomi' require 'alchemist' module ESX - VERSION = '0.1' + VERSION = '0.1.1' class Host # Connect to a ESX host # # Requires hostname/ip, username and password # # Host connection is insecure by default def self.connect(host, user, password, insecure=true) - vim = RbVmomi::VIM.connect :host => host, :user => 'root', :password => 'temporal', :insecure => insecure + vim = RbVmomi::VIM.connect :host => host, :user => user, :password => password, :insecure => insecure host = Host.new host.vim = vim host end