bosh-stemcell 1.3012.0 → 1.3016.0
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.
- checksums.yaml +4 -4
- data/README.md +5 -2
- data/lib/bosh/stemcell/stage_collection.rb +22 -11
- data/lib/bosh/stemcell/version.rb +1 -1
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5281867a0d38b3d35b0fdfa0b7c58d97581b72b4
|
4
|
+
data.tar.gz: d01f4d4804dc00b066bdcbe827500e2721e25a84
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd32acff410057c11f4817f5fd0ef8d57d7cfe77d03b9f9eb6013c58bb743c5d6776396d927d1c8b21720be36422943790d320fb1b1bd1dc321565defc545ca7
|
7
|
+
data.tar.gz: d8c9d78b505f4f3e5f5d65c136fc0830d1b33d4de88ec286cb831ab53b9a06c2f3a02f163ea58b2da2a4866aa11d5c395473388a887c038837116e9d46b99a82
|
data/README.md
CHANGED
@@ -21,12 +21,13 @@ Note: Use US East (Northern Virginia) region when using AWS in following steps.
|
|
21
21
|
|
22
22
|
From a fresh copy of the bosh repo:
|
23
23
|
|
24
|
+
git submodule update --init --recursive
|
25
|
+
|
24
26
|
If you use AWS EC2-Classic environment, run:
|
25
27
|
|
26
28
|
export BOSH_AWS_ACCESS_KEY_ID=YOUR-AWS-ACCESS-KEY
|
27
29
|
export BOSH_AWS_SECRET_ACCESS_KEY=YOUR-AWS-SECRET-KEY
|
28
30
|
cd bosh-stemcell
|
29
|
-
git submodule update --init --recursive
|
30
31
|
vagrant up remote --provider=aws
|
31
32
|
|
32
33
|
If you use AWS VPC environment, run:
|
@@ -109,7 +110,7 @@ The final two arguments are the S3 bucket and key for the OS image to use, which
|
|
109
110
|
|
110
111
|
vagrant ssh -c '
|
111
112
|
cd /bosh
|
112
|
-
CANDIDATE_BUILD_NUMBER=<current_build>
|
113
|
+
CANDIDATE_BUILD_NUMBER=<current_build> bundle exec rake stemcell:build[vsphere,esxi,centos,7,go,bosh-os-images,bosh-centos-7-os-image.tgz]
|
113
114
|
' remote
|
114
115
|
|
115
116
|
|
@@ -137,6 +138,8 @@ AWS stemcells can be shipped in light format which includes a reference to a pub
|
|
137
138
|
bundle exec rake stemcell:build_light[/tmp/bosh-stemcell.tgz,hvm]
|
138
139
|
' remote
|
139
140
|
|
141
|
+
To build for specific region specify `BOSH_AWS_REGION` environment variable.
|
142
|
+
|
140
143
|
### When things go sideways
|
141
144
|
|
142
145
|
If you find yourself debugging any of the above processes, here is what you need to know:
|
@@ -82,6 +82,7 @@ module Bosh::Stemcell
|
|
82
82
|
:bosh_harden,
|
83
83
|
:bosh_disable_password_authentication,
|
84
84
|
:bosh_openstack_agent_settings,
|
85
|
+
:disable_blank_passwords,
|
85
86
|
:image_create,
|
86
87
|
:image_install_grub,
|
87
88
|
]
|
@@ -97,6 +98,7 @@ module Bosh::Stemcell
|
|
97
98
|
:bosh_harden,
|
98
99
|
:bosh_disable_password_authentication,
|
99
100
|
:bosh_openstack_agent_settings,
|
101
|
+
:disable_blank_passwords,
|
100
102
|
# Image/bootloader
|
101
103
|
:image_create,
|
102
104
|
:image_install_grub,
|
@@ -114,11 +116,13 @@ module Bosh::Stemcell
|
|
114
116
|
if is_centos?
|
115
117
|
[
|
116
118
|
:system_network,
|
119
|
+
:system_open_vm_tools,
|
117
120
|
:system_vsphere_cdrom,
|
118
121
|
:system_parameters,
|
119
122
|
:bosh_clean,
|
120
123
|
:bosh_harden,
|
121
124
|
:bosh_vsphere_agent_settings,
|
125
|
+
:disable_blank_passwords,
|
122
126
|
:image_create,
|
123
127
|
:image_install_grub,
|
124
128
|
]
|
@@ -133,6 +137,7 @@ module Bosh::Stemcell
|
|
133
137
|
:bosh_clean,
|
134
138
|
:bosh_harden,
|
135
139
|
:bosh_vsphere_agent_settings,
|
140
|
+
:disable_blank_passwords,
|
136
141
|
# Image/bootloader
|
137
142
|
:image_create,
|
138
143
|
:image_install_grub,
|
@@ -144,11 +149,13 @@ module Bosh::Stemcell
|
|
144
149
|
if is_centos?
|
145
150
|
[
|
146
151
|
:system_network,
|
152
|
+
:system_open_vm_tools,
|
147
153
|
:system_vsphere_cdrom,
|
148
154
|
:system_parameters,
|
149
155
|
:bosh_clean,
|
150
156
|
:bosh_harden,
|
151
157
|
:bosh_vsphere_agent_settings,
|
158
|
+
:disable_blank_passwords,
|
152
159
|
:image_create,
|
153
160
|
:image_install_grub,
|
154
161
|
]
|
@@ -163,6 +170,7 @@ module Bosh::Stemcell
|
|
163
170
|
:bosh_clean,
|
164
171
|
:bosh_harden,
|
165
172
|
:bosh_vsphere_agent_settings,
|
173
|
+
:disable_blank_passwords,
|
166
174
|
# Image/bootloader
|
167
175
|
:image_create,
|
168
176
|
:image_install_grub,
|
@@ -181,6 +189,7 @@ module Bosh::Stemcell
|
|
181
189
|
:bosh_harden,
|
182
190
|
:bosh_disable_password_authentication,
|
183
191
|
:bosh_aws_agent_settings,
|
192
|
+
:disable_blank_passwords,
|
184
193
|
# Image/bootloader
|
185
194
|
:image_create,
|
186
195
|
:image_install_grub,
|
@@ -201,18 +210,18 @@ module Bosh::Stemcell
|
|
201
210
|
end
|
202
211
|
|
203
212
|
def centos_os_stages
|
204
|
-
|
205
|
-
|
206
|
-
|
207
|
-
|
208
|
-
|
209
|
-
|
210
|
-
|
211
|
-
|
212
|
-
|
213
|
+
[
|
214
|
+
:base_centos,
|
215
|
+
:base_centos_packages,
|
216
|
+
:base_ssh,
|
217
|
+
:system_ixgbevf,
|
218
|
+
bosh_steps,
|
219
|
+
:rsyslog_config,
|
220
|
+
:delay_monit_start,
|
221
|
+
:system_grub,
|
222
|
+
:cron_config,
|
223
|
+
:escape_ctrl_alt_del
|
213
224
|
].flatten
|
214
|
-
|
215
|
-
os_stages
|
216
225
|
end
|
217
226
|
|
218
227
|
def rhel_os_stages
|
@@ -240,12 +249,14 @@ module Bosh::Stemcell
|
|
240
249
|
:bosh_dpkg_list,
|
241
250
|
:bosh_sysstat,
|
242
251
|
:system_kernel,
|
252
|
+
:system_ixgbevf,
|
243
253
|
bosh_steps,
|
244
254
|
:rsyslog_config,
|
245
255
|
:delay_monit_start,
|
246
256
|
:system_grub,
|
247
257
|
:vim_tiny,
|
248
258
|
:cron_config,
|
259
|
+
:escape_ctrl_alt_del,
|
249
260
|
].flatten
|
250
261
|
end
|
251
262
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-stemcell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3016.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-07-
|
11
|
+
date: 2015-07-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_aws_cpi
|
@@ -16,28 +16,28 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 1.
|
19
|
+
version: 1.3016.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 1.
|
26
|
+
version: 1.3016.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: bosh-core
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.3016.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.3016.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: fakefs
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|