bosh_aws_cpi 1.3016.0 → 1.3022.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cloud/aws/cloud.rb +9 -2
- data/lib/cloud/aws/stemcell_creator.rb +1 -0
- data/lib/cloud/aws/version.rb +1 -1
- metadata +9 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6bb3f3a1f84673d07f99e917227337f90126664
|
4
|
+
data.tar.gz: e23c3139090da6062a255e9952ee42b6dff6afad
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 893edd634ac440fa00390244d27c840c19b4f3676e8c6ac6aeb5199498cb330a82f2cbe1168c7aa274798ffdbfb7ea5256f587f43de28a0cc607905b26e12b83
|
7
|
+
data.tar.gz: 4a82c8d552d2e91c6d30de8bcf3a0903cd7058a35bd7144c70b5a5b158db9df016eae6d8f37e6b6521971fd4c6a97c515bd175fc5d16670ca3b98678097c61fc
|
data/lib/cloud/aws/cloud.rb
CHANGED
@@ -388,7 +388,7 @@ module Bosh::AwsCloud
|
|
388
388
|
network_configurator.configure(@ec2, instance)
|
389
389
|
|
390
390
|
update_agent_settings(instance) do |settings|
|
391
|
-
settings["networks"] = network_spec
|
391
|
+
settings["networks"] = agent_network_spec(network_spec)
|
392
392
|
end
|
393
393
|
end
|
394
394
|
end
|
@@ -707,7 +707,7 @@ module Bosh::AwsCloud
|
|
707
707
|
"name" => "vm-#{SecureRandom.uuid}"
|
708
708
|
},
|
709
709
|
"agent_id" => agent_id,
|
710
|
-
"networks" => network_spec,
|
710
|
+
"networks" => agent_network_spec(network_spec),
|
711
711
|
"disks" => {
|
712
712
|
"system" => root_device_name,
|
713
713
|
"ephemeral" => "/dev/sdb",
|
@@ -718,5 +718,12 @@ module Bosh::AwsCloud
|
|
718
718
|
settings["env"] = environment if environment
|
719
719
|
settings.merge(agent_properties)
|
720
720
|
end
|
721
|
+
|
722
|
+
def agent_network_spec(network_spec)
|
723
|
+
Hash[*network_spec.map do |name, settings|
|
724
|
+
settings["use_dhcp"] = true
|
725
|
+
[name, settings]
|
726
|
+
end.flatten]
|
727
|
+
end
|
721
728
|
end
|
722
729
|
end
|
data/lib/cloud/aws/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh_aws_cpi
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3022.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- VMware
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk
|
@@ -30,42 +30,42 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.3022.0
|
34
34
|
type: :runtime
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - "~>"
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 1.
|
40
|
+
version: 1.3022.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bosh_cpi
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - "~>"
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 1.
|
47
|
+
version: 1.3022.0
|
48
48
|
type: :runtime
|
49
49
|
prerelease: false
|
50
50
|
version_requirements: !ruby/object:Gem::Requirement
|
51
51
|
requirements:
|
52
52
|
- - "~>"
|
53
53
|
- !ruby/object:Gem::Version
|
54
|
-
version: 1.
|
54
|
+
version: 1.3022.0
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
56
|
name: bosh-registry
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - "~>"
|
60
60
|
- !ruby/object:Gem::Version
|
61
|
-
version: 1.
|
61
|
+
version: 1.3022.0
|
62
62
|
type: :runtime
|
63
63
|
prerelease: false
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
65
65
|
requirements:
|
66
66
|
- - "~>"
|
67
67
|
- !ruby/object:Gem::Version
|
68
|
-
version: 1.
|
68
|
+
version: 1.3022.0
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
70
|
name: httpclient
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
@@ -138,7 +138,7 @@ dependencies:
|
|
138
138
|
version: '0'
|
139
139
|
description: |-
|
140
140
|
BOSH AWS CPI
|
141
|
-
|
141
|
+
6073a7
|
142
142
|
email: support@cloudfoundry.com
|
143
143
|
executables:
|
144
144
|
- aws_cpi
|