esx 0.3.1 → 0.3.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/bin/esx +1 -1
  2. data/lib/esx.rb +1 -1
  3. metadata +21 -21
data/bin/esx CHANGED
@@ -225,7 +225,7 @@ class CreateVMCommand < BaseCommand
225
225
  vm = host.create_vm :vm_name => name,
226
226
  :disk_file => "#{name}/#{name}.vmdk",
227
227
  :datastore => datastore, :disk_type => :flat, :memory => memory,
228
- :guest_id => guest_id, :mac_address => mac_address
228
+ :guest_id => guest_id, :nics => [{mac_address => mac_address, :network => vm_network}]
229
229
  end
230
230
  if poweron?
231
231
  vm.power_on
data/lib/esx.rb CHANGED
@@ -6,7 +6,7 @@ require 'net/ssh'
6
6
 
7
7
  module ESX
8
8
 
9
- VERSION = '0.3.1'
9
+ VERSION = '0.3.2'
10
10
 
11
11
  class Host
12
12
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esx
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.1
4
+ version: 0.3.2
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -13,7 +13,7 @@ date: 2012-01-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rspec
16
- requirement: &17898020 !ruby/object:Gem::Requirement
16
+ requirement: &13584940 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,10 +21,10 @@ dependencies:
21
21
  version: '0'
22
22
  type: :development
23
23
  prerelease: false
24
- version_requirements: *17898020
24
+ version_requirements: *13584940
25
25
  - !ruby/object:Gem::Dependency
26
26
  name: bundler
27
- requirement: &17894660 !ruby/object:Gem::Requirement
27
+ requirement: &13582680 !ruby/object:Gem::Requirement
28
28
  none: false
29
29
  requirements:
30
30
  - - ~>
@@ -32,10 +32,10 @@ dependencies:
32
32
  version: 1.0.0
33
33
  type: :development
34
34
  prerelease: false
35
- version_requirements: *17894660
35
+ version_requirements: *13582680
36
36
  - !ruby/object:Gem::Dependency
37
37
  name: jeweler
38
- requirement: &17928200 !ruby/object:Gem::Requirement
38
+ requirement: &13616860 !ruby/object:Gem::Requirement
39
39
  none: false
40
40
  requirements:
41
41
  - - ! '>='
@@ -43,10 +43,10 @@ dependencies:
43
43
  version: '0'
44
44
  type: :development
45
45
  prerelease: false
46
- version_requirements: *17928200
46
+ version_requirements: *13616860
47
47
  - !ruby/object:Gem::Dependency
48
48
  name: simplecov
49
- requirement: &17926060 !ruby/object:Gem::Requirement
49
+ requirement: &13614040 !ruby/object:Gem::Requirement
50
50
  none: false
51
51
  requirements:
52
52
  - - ! '>='
@@ -54,10 +54,10 @@ dependencies:
54
54
  version: '0'
55
55
  type: :development
56
56
  prerelease: false
57
- version_requirements: *17926060
57
+ version_requirements: *13614040
58
58
  - !ruby/object:Gem::Dependency
59
59
  name: alchemist
60
- requirement: &17922780 !ruby/object:Gem::Requirement
60
+ requirement: &13611940 !ruby/object:Gem::Requirement
61
61
  none: false
62
62
  requirements:
63
63
  - - ! '>='
@@ -65,10 +65,10 @@ dependencies:
65
65
  version: '0'
66
66
  type: :runtime
67
67
  prerelease: false
68
- version_requirements: *17922780
68
+ version_requirements: *13611940
69
69
  - !ruby/object:Gem::Dependency
70
70
  name: rbvmomi
71
- requirement: &17949440 !ruby/object:Gem::Requirement
71
+ requirement: &13610820 !ruby/object:Gem::Requirement
72
72
  none: false
73
73
  requirements:
74
74
  - - ! '>='
@@ -76,10 +76,10 @@ dependencies:
76
76
  version: '0'
77
77
  type: :runtime
78
78
  prerelease: false
79
- version_requirements: *17949440
79
+ version_requirements: *13610820
80
80
  - !ruby/object:Gem::Dependency
81
81
  name: terminal-table
82
- requirement: &17947300 !ruby/object:Gem::Requirement
82
+ requirement: &13710140 !ruby/object:Gem::Requirement
83
83
  none: false
84
84
  requirements:
85
85
  - - ! '>='
@@ -87,10 +87,10 @@ dependencies:
87
87
  version: '0'
88
88
  type: :runtime
89
89
  prerelease: false
90
- version_requirements: *17947300
90
+ version_requirements: *13710140
91
91
  - !ruby/object:Gem::Dependency
92
92
  name: net-ssh
93
- requirement: &17945200 !ruby/object:Gem::Requirement
93
+ requirement: &13708680 !ruby/object:Gem::Requirement
94
94
  none: false
95
95
  requirements:
96
96
  - - ! '>='
@@ -98,10 +98,10 @@ dependencies:
98
98
  version: '0'
99
99
  type: :runtime
100
100
  prerelease: false
101
- version_requirements: *17945200
101
+ version_requirements: *13708680
102
102
  - !ruby/object:Gem::Dependency
103
103
  name: net-scp
104
- requirement: &17942780 !ruby/object:Gem::Requirement
104
+ requirement: &13707760 !ruby/object:Gem::Requirement
105
105
  none: false
106
106
  requirements:
107
107
  - - ! '>='
@@ -109,10 +109,10 @@ dependencies:
109
109
  version: '0'
110
110
  type: :runtime
111
111
  prerelease: false
112
- version_requirements: *17942780
112
+ version_requirements: *13707760
113
113
  - !ruby/object:Gem::Dependency
114
114
  name: clamp
115
- requirement: &17969780 !ruby/object:Gem::Requirement
115
+ requirement: &13707000 !ruby/object:Gem::Requirement
116
116
  none: false
117
117
  requirements:
118
118
  - - ! '>='
@@ -120,7 +120,7 @@ dependencies:
120
120
  version: '0'
121
121
  type: :runtime
122
122
  prerelease: false
123
- version_requirements: *17969780
123
+ version_requirements: *13707000
124
124
  description: Manage VMWare ESX hosts with ease
125
125
  email: rubiojr@frameos.org
126
126
  executables: