esx 0.1 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/README.md +9 -1
- data/lib/esx.rb +2 -2
- 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 =>
|
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