@@ -6,7 +6,7 @@ disk image that is used as a template by a BOSH Director to create VMs.
66## Quick Start: Building a Stemcell Locally
77
88``` bash
9- export short_name=" jammy "
9+ export short_name=" noble "
1010
1111git clone git@github.com:cloudfoundry/bosh-linux-stemcell-builder.git
1212cd bosh-linux-stemcell-builder
@@ -27,9 +27,9 @@ docker run \
2727 bosh/os-image-stemcell-builder:${short_name}
2828
2929# You're now in the Docker container
30- pushd bosh-stemcell
31- bundle install
32- popd
30+ ulimit -n 16384 # only necessary if your host is Fedora
31+ gem install bundler
32+ bundle install
3333
3434 # build OS image
3535bundle exec rake stemcell:build_os_image[ubuntu,${short_name} ,${PWD} /tmp/ubuntu_base_image.tgz]
@@ -56,7 +56,7 @@ installed in the operating system or when making changes to the configuration
5656of those packages.
5757
5858``` bash
59- export short_name=" jammy "
59+ export short_name=" noble "
6060
6161bundle exec rake stemcell:build_os_image[ubuntu,${short_name} ,${PWD} /tmp/ubuntu_base_image.tgz]
6262```
@@ -78,7 +78,7 @@ The arguments to the `stemcell:build_os_image` rake task follow:
7878Rebuild the stemcell when you are making and testing BOSH-specific changes such as a new BOSH agent.
7979
8080``` bash
81- export short_name=" jammy "
81+ export short_name=" noble "
8282export build_number=" 0.0.8"
8383
8484bundle exec rake stemcell:build[vsphere,esxi,ubuntu,${short_name} ,${PWD} /tmp/ubuntu_base_image.tgz,${build_number} ]
@@ -114,7 +114,7 @@ the stemcell would be at
114114upload the stemcell to a vSphere BOSH Director:
115115
116116``` bash
117- export short_name=" jammy "
117+ export short_name=" noble "
118118
119119bosh upload-stemcell tmp/bosh-stemcell-0.0.8-vsphere-esxi-ubuntu-${short_name} -go_agent.tgz
120120```
@@ -135,7 +135,7 @@ the OS image** at the `tmp/ubuntu_base_image.tgz` and you're within the Docker
135135container):
136136
137137``` shell
138- export short_name=" jammy "
138+ export short_name=" noble "
139139 cd /opt/bosh/bosh-stemcell
140140 bundle install
141141 OS_IMAGE=/opt/bosh/tmp/ubuntu_base_image.tgz bundle exec rspec -fd spec/os_image/ubuntu_spec.rb
@@ -208,7 +208,7 @@ If you find yourself debugging any of the above processes, here is what you need
208208 Example usage:
209209
210210 ``` shell
211- export short_name=" jammy "
211+ export short_name=" noble "
212212
213213 bundle exec rake stemcell:build_os_image[ubuntu,${short_name} ,${PWD} /tmp/ubuntu_base_image.tgz] resume_from=rsyslog_config
214214 ```
@@ -249,7 +249,7 @@ You will need the ovftool installer present in
249249Rebuild the container with:
250250
251251``` shell
252- export short_name=" jammy "
252+ export short_name=" noble "
253253
254254docker build \
255255 --platform linux/amd64 \
@@ -280,7 +280,7 @@ gsutil cp MY_OVFTOOL_FILE gs://bosh-vmware-ovftool/MY_OS/
280280Example:
281281
282282``` shell
283- export short_name=" jammy "
283+ export short_name=" noble "
284284
285285gsutil cp VMware-ovftool-4.4.3-18663434-lin.x86_64.bundle gs://bosh-vmware-ovftool/${short_name} /
286286```
0 commit comments