bosh-stemcell 1.3146.10.0 → 1.3147.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +7 -7
- data/lib/bosh/stemcell/operating_system.rb +3 -3
- data/lib/bosh/stemcell/stage_collection.rb +4 -4
- data/lib/bosh/stemcell/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: fa7a2b98d175c3f9a738688edf937558ce79a146
|
4
|
+
data.tar.gz: dad5f107b992ae264868b7ae73b55719e6de87fd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 20b65157d1798725228e5387b78df8acf0750bb066c0794fb5bfbdbac8b1a7476e384115f548dbe1cc0d5551fb61fe2ba66766bd83ca052e8e4788e87249dbfd
|
7
|
+
data.tar.gz: eb0afb9da9ff47acffecdda2a52c998483e674c2378ca953e6da1621163cceb38812be81983c6e90f6d9fca58b32de70d48468fa191164e0f6592e704bf501a5
|
data/README.md
CHANGED
@@ -99,21 +99,21 @@ There are a few extra steps you need to do before building a RHEL OS image:
|
|
99
99
|
|
100
100
|
See below [Building the stemcell with local OS image](#building-the-stemcell-with-local-os-image) on how to build stemcell with the new OS image.
|
101
101
|
|
102
|
-
### Special requirements for building a
|
102
|
+
### Special requirements for building a PhotonOS image
|
103
103
|
|
104
|
-
There are a few extra steps you need to do before building a
|
104
|
+
There are a few extra steps you need to do before building a PhotonOS image:
|
105
105
|
|
106
106
|
1. Start up or re-provision the stemcell building machine (run `vagrant up` or `vagrant provision` from this directory)
|
107
|
-
2. Download the [latest
|
108
|
-
3. On the stemcell building machine, mount the
|
107
|
+
2. Download the [latest PhotonOS ISO image](https://vmware.bintray.com/photon/iso/) and use `scp` to copy it to the stemcell building machine. The version must be TP2-dev or newer.
|
108
|
+
3. On the stemcell building machine, mount the PhotonOS ISO at `/mnt/photonos`:
|
109
109
|
|
110
|
-
# mkdir -p /mnt/
|
111
|
-
# mount photon.iso /mnt/
|
110
|
+
# mkdir -p /mnt/photonos
|
111
|
+
# mount photon.iso /mnt/photonos
|
112
112
|
|
113
113
|
4. On the stemcell building machine, run the stemcell building rake task:
|
114
114
|
|
115
115
|
$ cd /bosh
|
116
|
-
$ bundle exec rake stemcell:build_os_image[
|
116
|
+
$ bundle exec rake stemcell:build_os_image[photonos,TP2,/tmp/photon_TP2_base_image.tgz]
|
117
117
|
|
118
118
|
See below [Building the stemcell with local OS image](#building-the-stemcell-with-local-os-image) on how to build stemcell with the new OS image.
|
119
119
|
|
@@ -6,7 +6,7 @@ module Bosh::Stemcell
|
|
6
6
|
when 'centos' then Centos.new(operating_system_version)
|
7
7
|
when 'rhel' then Rhel.new(operating_system_version)
|
8
8
|
when 'ubuntu' then Ubuntu.new(operating_system_version)
|
9
|
-
when '
|
9
|
+
when 'photonos' then Photonos.new(operating_system_version)
|
10
10
|
else raise ArgumentError.new("invalid operating system: #{operating_system_name}")
|
11
11
|
end
|
12
12
|
end
|
@@ -42,9 +42,9 @@ module Bosh::Stemcell
|
|
42
42
|
end
|
43
43
|
end
|
44
44
|
|
45
|
-
class
|
45
|
+
class Photonos < Base
|
46
46
|
def initialize(version)
|
47
|
-
super(name: '
|
47
|
+
super(name: 'photonos', version: version)
|
48
48
|
end
|
49
49
|
end
|
50
50
|
end
|
@@ -18,8 +18,8 @@ module Bosh::Stemcell
|
|
18
18
|
rhel_os_stages
|
19
19
|
when OperatingSystem::Ubuntu then
|
20
20
|
ubuntu_os_stages
|
21
|
-
when OperatingSystem::
|
22
|
-
|
21
|
+
when OperatingSystem::Photonos then
|
22
|
+
photonos_os_stages
|
23
23
|
end
|
24
24
|
end
|
25
25
|
|
@@ -223,9 +223,9 @@ module Bosh::Stemcell
|
|
223
223
|
].flatten
|
224
224
|
end
|
225
225
|
|
226
|
-
def
|
226
|
+
def photonos_os_stages
|
227
227
|
[
|
228
|
-
:
|
228
|
+
:base_photonos,
|
229
229
|
:base_file_permission,
|
230
230
|
bosh_steps,
|
231
231
|
:base_ssh,
|
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.3147.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Pivotal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-12-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bosh_aws_cpi
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - "~>"
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.
|
33
|
+
version: 1.3147.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.3147.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: fakefs
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|