knife-esx 0.3 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.md +18 -2
- data/lib/chef/knife/esx_template_delete.rb +1 -1
- data/lib/knife-esx/version.rb +1 -1
- metadata +11 -11
data/CHANGELOG.md
CHANGED
@@ -1,51 +1,66 @@
|
|
1
|
+
# 0.3.1 - 2012/03/26
|
2
|
+
|
3
|
+
* Minor string change
|
4
|
+
|
1
5
|
# 0.3.0 - 2012/03/26
|
2
6
|
|
3
7
|
* Added template commands
|
4
8
|
|
9
|
+
```
|
5
10
|
knife esx template import --esx-password password \
|
6
11
|
--esx-host esx-test-host \
|
7
12
|
/path/to/template.vmdk
|
8
|
-
|
13
|
+
|
9
14
|
knife esx template list --esx-password password \
|
10
15
|
--esx-host esx-test-host
|
11
16
|
|
12
17
|
knife esx template delete --esx-password password \
|
13
18
|
--esx-host esx-test-host \
|
14
19
|
template.vmdk
|
20
|
+
```
|
15
21
|
|
16
22
|
* Added --use-template argument to *vm create* command
|
17
23
|
|
24
|
+
```
|
18
25
|
knife esx vm create --esx-password password \
|
19
26
|
--esx-host esx-test-host \
|
20
27
|
--use-template template.vmdk \
|
21
28
|
my-new-vm
|
22
|
-
|
29
|
+
```
|
30
|
+
|
23
31
|
## Create a new VM using templates
|
24
32
|
|
25
33
|
1. Import the template first with "knife esx template import"
|
26
34
|
|
35
|
+
```
|
27
36
|
knife esx template import --esx-host esx-test-host \
|
28
37
|
--esx-password password \
|
29
38
|
/path/to/template.vmdk
|
39
|
+
```
|
30
40
|
|
31
41
|
2. Deploy using knife esx vm create
|
32
42
|
|
43
|
+
```
|
33
44
|
knife esx vm create --esx-host esx-test-host \
|
34
45
|
--esx-password password \
|
35
46
|
--vm-name my-foo-vm \
|
36
47
|
--use-template template.vmdk
|
48
|
+
```
|
37
49
|
|
38
50
|
## Using templates with async batch deploys
|
39
51
|
|
40
52
|
1. Import the template first with "knife esx template import"
|
41
53
|
|
54
|
+
```
|
42
55
|
knife esx template import --esx-host esx-test-host \
|
43
56
|
--esx-password password \
|
44
57
|
/path/to/template.vmdk
|
58
|
+
```
|
45
59
|
|
46
60
|
2. Deploy using knife esx vm create --async --batch
|
47
61
|
Sample batch config for "knife esx vm create":
|
48
62
|
|
63
|
+
```
|
49
64
|
---
|
50
65
|
:tc01:
|
51
66
|
'use-template': template.vmdk
|
@@ -65,6 +80,7 @@
|
|
65
80
|
'ssh-user': ubuntu
|
66
81
|
'ssh-password': ubuntu
|
67
82
|
'datastore': datastore1
|
83
|
+
```
|
68
84
|
|
69
85
|
# 0.2.1 - 2012/02/28
|
70
86
|
|
data/lib/knife-esx/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: knife-esx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 0.3.1
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -13,7 +13,7 @@ date: 2012-03-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: esx
|
16
|
-
requirement: &
|
16
|
+
requirement: &21583220 !ruby/object:Gem::Requirement
|
17
17
|
none: false
|
18
18
|
requirements:
|
19
19
|
- - ! '>='
|
@@ -21,10 +21,10 @@ dependencies:
|
|
21
21
|
version: 0.4.1
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
|
-
version_requirements: *
|
24
|
+
version_requirements: *21583220
|
25
25
|
- !ruby/object:Gem::Dependency
|
26
26
|
name: terminal-table
|
27
|
-
requirement: &
|
27
|
+
requirement: &21581300 !ruby/object:Gem::Requirement
|
28
28
|
none: false
|
29
29
|
requirements:
|
30
30
|
- - ! '>='
|
@@ -32,10 +32,10 @@ dependencies:
|
|
32
32
|
version: '0'
|
33
33
|
type: :runtime
|
34
34
|
prerelease: false
|
35
|
-
version_requirements: *
|
35
|
+
version_requirements: *21581300
|
36
36
|
- !ruby/object:Gem::Dependency
|
37
37
|
name: chef
|
38
|
-
requirement: &
|
38
|
+
requirement: &21579080 !ruby/object:Gem::Requirement
|
39
39
|
none: false
|
40
40
|
requirements:
|
41
41
|
- - ! '>='
|
@@ -43,10 +43,10 @@ dependencies:
|
|
43
43
|
version: '0.10'
|
44
44
|
type: :runtime
|
45
45
|
prerelease: false
|
46
|
-
version_requirements: *
|
46
|
+
version_requirements: *21579080
|
47
47
|
- !ruby/object:Gem::Dependency
|
48
48
|
name: celluloid
|
49
|
-
requirement: &
|
49
|
+
requirement: &21570540 !ruby/object:Gem::Requirement
|
50
50
|
none: false
|
51
51
|
requirements:
|
52
52
|
- - ! '>='
|
@@ -54,10 +54,10 @@ dependencies:
|
|
54
54
|
version: '0.9'
|
55
55
|
type: :runtime
|
56
56
|
prerelease: false
|
57
|
-
version_requirements: *
|
57
|
+
version_requirements: *21570540
|
58
58
|
- !ruby/object:Gem::Dependency
|
59
59
|
name: open4
|
60
|
-
requirement: &
|
60
|
+
requirement: &21569000 !ruby/object:Gem::Requirement
|
61
61
|
none: false
|
62
62
|
requirements:
|
63
63
|
- - ! '>='
|
@@ -65,7 +65,7 @@ dependencies:
|
|
65
65
|
version: '0'
|
66
66
|
type: :runtime
|
67
67
|
prerelease: false
|
68
|
-
version_requirements: *
|
68
|
+
version_requirements: *21569000
|
69
69
|
description: ESX Support for Chef's Knife Command
|
70
70
|
email:
|
71
71
|
- rubiojr@frameos.org
|