bosh-stemcell 1.2361.0 → 1.2366.0
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +15 -6
- data/lib/bosh/stemcell/version.rb +1 -1
- metadata +5 -5
data/README.md
CHANGED
@@ -22,18 +22,17 @@ From a fresh copy of the bosh repo:
|
|
22
22
|
export BOSH_AWS_ACCESS_KEY_ID=YOUR-AWS-ACCESS-KEY
|
23
23
|
export BOSH_AWS_SECRET_ACCESS_KEY=YOUR-AWS-SECRET-KEY
|
24
24
|
cd bosh-stemcell
|
25
|
-
vagrant up
|
25
|
+
vagrant up remote --provider=aws
|
26
26
|
|
27
27
|
#### Build the stemcell from inside the VM
|
28
28
|
|
29
|
-
Substitute *\<current_build\>* with the current build number, which can be found by looking at
|
30
|
-
|
29
|
+
Substitute *\<current_build\>* with the current build number, which can be found by looking at [bosh artifacts](http://bosh_artifacts.cfapps.io).
|
30
|
+
The final two arguments are the S3 bucket and key for the OS image to use, which can be found by reading the OS\_IMAGES document in this project.
|
31
31
|
|
32
32
|
vagrant ssh -c '
|
33
33
|
cd /bosh
|
34
|
-
bundle
|
35
|
-
|
36
|
-
' local
|
34
|
+
CANDIDATE_BUILD_NUMBER=<current_build> http_proxy=http://localhost:3142/ bundle exec rake stemcell:build[vsphere,centos,ruby,ci4-bosh-os-images-centos,aa1590ae6eb031840b59485ad292d4ae313c0327338867263c07a73878fb4a49]
|
35
|
+
' remote
|
37
36
|
|
38
37
|
# Run the stemcell locally with Fusion
|
39
38
|
|
@@ -107,3 +106,13 @@ route add default gw 10.0.2.2 eth0
|
|
107
106
|
|
108
107
|
Test the network with `ping 8.8.8.8`
|
109
108
|
|
109
|
+
# Build an OS image
|
110
|
+
|
111
|
+
A stemcell with a custom OS image can be built using the stemcell-building VM created earlier.
|
112
|
+
|
113
|
+
vagrant ssh -c '
|
114
|
+
cd /bosh
|
115
|
+
bundle exec rake stemcell:build_os_image[centos,/tmp/centos_base_image.tgz]
|
116
|
+
bundle exec rake stemcell:build_with_local_os_image[aws,centos,ruby,/tmp/centos_base_image.tgz]
|
117
|
+
' remote
|
118
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bosh-stemcell
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.2366.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2014-04-
|
12
|
+
date: 2014-04-09 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: bosh_aws_cpi
|
@@ -18,7 +18,7 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - ~>
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.2366.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ~>
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.
|
29
|
+
version: 1.2366.0
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: fakefs
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|
@@ -188,7 +188,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
188
188
|
version: '0'
|
189
189
|
segments:
|
190
190
|
- 0
|
191
|
-
hash:
|
191
|
+
hash: 1590647693973166627
|
192
192
|
requirements: []
|
193
193
|
rubyforge_project:
|
194
194
|
rubygems_version: 1.8.23
|