esx 0.1 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/README.md +9 -1
  2. data/lib/esx.rb +2 -2
  3. metadata +3 -2
data/README.md CHANGED
@@ -1,6 +1,14 @@
1
1
  # ESX
2
2
 
3
- Simple rbvmomi wrapper to manage VMWare ESX hosts
3
+ Simple rbvmomi wrapper to manage VMWare ESX hosts.
4
+
5
+ The goal of the library is to keep things simple so vCenter support isn't planned.
6
+
7
+ If you want a full VMWare vSphere API ruby implementation have a look at https://github.com/rlane/rbvmomi
8
+
9
+ # Installation
10
+
11
+ gem install esx
4
12
 
5
13
  # Usage
6
14
 
data/lib/esx.rb CHANGED
@@ -3,7 +3,7 @@ require 'rbvmomi'
3
3
  require 'alchemist'
4
4
 
5
5
  module ESX
6
- VERSION = '0.1'
6
+ VERSION = '0.1.1'
7
7
 
8
8
  class Host
9
9
 
@@ -13,7 +13,7 @@ module ESX
13
13
  #
14
14
  # Host connection is insecure by default
15
15
  def self.connect(host, user, password, insecure=true)
16
- vim = RbVmomi::VIM.connect :host => host, :user => 'root', :password => 'temporal', :insecure => insecure
16
+ vim = RbVmomi::VIM.connect :host => host, :user => user, :password => password, :insecure => insecure
17
17
  host = Host.new
18
18
  host.vim = vim
19
19
  host
metadata CHANGED
@@ -1,12 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esx
3
3
  version: !ruby/object:Gem::Version
4
- hash: 9
4
+ hash: 25
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- version: "0.1"
9
+ - 1
10
+ version: 0.1.1
10
11
  platform: ruby
11
12
  authors:
12
13
  - Sergio Rubio