Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
549 commits
Select commit Hold shift + click to select a range
e0dcfb5
Bump vsphere default hardware version to 17 (#437)
Alphasite Aug 14, 2025
b5061c4
Improve chrony clock settings
MSSedusch Aug 14, 2025
c1c520a
[ci skip] bump OS image
Aug 14, 2025
dcb9b66
bump bosh-blobstore-azure-storage/0.0.179
Aug 15, 2025
017b5de
bump bosh-blobstore-dav/0.0.432
Aug 15, 2025
946f583
bump bosh-blobstore-s3/0.0.379
Aug 15, 2025
1c5e5bb
[ci skip] bump OS image
Aug 15, 2025
21908f6
[ci skip] bump OS image
Aug 15, 2025
272b627
bump bosh-blobstore-dav/0.0.433
Aug 15, 2025
385db17
[ci skip] bump OS image
Aug 15, 2025
66f2708
bump bosh-blobstore-gcs/0.0.321
Aug 18, 2025
5c299f7
[ci skip] bump OS image
Aug 18, 2025
f6483f9
bump bosh-blobstore-s3/0.0.380
Aug 20, 2025
476d2ae
bump bosh-blobstore-gcs/0.0.322
Aug 20, 2025
6b400fe
[ci skip] bump OS image
Aug 20, 2025
e75f5cc
[ci skip] bump OS image
Aug 20, 2025
6f2e66e
bump bosh-blobstore-azure-storage/0.0.180
Aug 22, 2025
ea18532
[ci skip] bump OS image
Aug 22, 2025
4096e72
bump bosh-blobstore-dav/0.0.434
Aug 23, 2025
e1b2ee1
bump bosh-blobstore-gcs/0.0.323
Aug 23, 2025
e779fb6
[ci skip] bump OS image
Aug 23, 2025
1475b00
[ci skip] bump OS image
Aug 23, 2025
08bb9b8
bump bosh-blobstore-azure-storage/0.0.181
Aug 23, 2025
f9a069d
[ci skip] bump OS image
Aug 23, 2025
5f2b321
Merge pull request #438 from MSSedusch/ubuntu-jammy
rkoster Aug 28, 2025
ca6650d
[ci skip] bump OS image
Aug 28, 2025
8705816
Update Azure waagent version
HappyTobi Aug 29, 2025
7e0fc31
bump bosh-blobstore-dav/0.0.435
Aug 30, 2025
b207324
bump bosh-blobstore-gcs/0.0.324
Aug 30, 2025
913d3b1
[ci skip] bump OS image
Aug 30, 2025
f4b1448
[ci skip] bump OS image
Aug 30, 2025
128fdad
[ci skip] bump OS image
Aug 30, 2025
20275b7
bump bosh-blobstore-azure-storage/0.0.182
Aug 30, 2025
2c1d911
[ci skip] bump OS image
Aug 30, 2025
b63fd16
bump bosh-blobstore-s3/0.0.381
Sep 3, 2025
00c914d
bump bosh-blobstore-gcs/0.0.325
Sep 3, 2025
96a1158
[ci skip] bump OS image
Sep 3, 2025
f37b046
[ci skip] bump OS image
Sep 3, 2025
9dce4fa
bump bosh-blobstore-s3/0.0.382
Sep 3, 2025
bdb6b47
bump bosh-blobstore-gcs/0.0.326
Sep 3, 2025
5d3f6ad
[ci skip] bump OS image
Sep 3, 2025
116dcda
Merge pull request #439 from HappyTobi/ubuntu-jammy-azure-waagent
rkoster Sep 4, 2025
0a13041
[ci skip] bump OS image
Sep 4, 2025
ad85307
bump bosh-blobstore-dav/0.0.436
Sep 6, 2025
8a6f6cb
bump bosh-blobstore-gcs/0.0.327
Sep 6, 2025
0255ee4
[ci skip] bump OS image
Sep 6, 2025
c23b70c
bump bosh-blobstore-azure-storage/0.0.183
Sep 6, 2025
776e47b
[ci skip] bump OS image
Sep 6, 2025
507938f
[ci skip] bump OS image
Sep 6, 2025
5c8b04e
bump bosh-blobstore-gcs/0.0.328
Sep 13, 2025
887778f
[ci skip] bump OS image
Sep 13, 2025
8a1637c
bump bosh-blobstore-azure-storage/0.0.184
Sep 13, 2025
36514d9
[ci skip] bump OS image
Sep 13, 2025
d825aa2
bump bosh-blobstore-gcs/0.0.329
Sep 20, 2025
fe268ea
[ci skip] bump OS image
Sep 20, 2025
ddda724
bump bosh-blobstore-azure-storage/0.0.185
Sep 22, 2025
2b84dd4
bump bosh-blobstore-dav/0.0.437
Sep 22, 2025
744f0b7
[ci skip] bump OS image
Sep 22, 2025
e5216b0
[ci skip] bump OS image
Sep 22, 2025
99a10cd
[ci skip] bump OS image
Sep 26, 2025
ae9c9a8
[ci skip] bump OS image
Sep 29, 2025
a52ae7b
bump bosh-blobstore-azure-storage/0.0.186
Oct 1, 2025
26f3d76
[ci skip] bump OS image
Oct 1, 2025
d48b580
Fix cloud-init logging format
s4heid Sep 25, 2025
bfa2692
[ci skip] bump OS image
Oct 2, 2025
ba79ef4
bump bosh-blobstore-azure-storage/0.0.187
Oct 4, 2025
d86213a
[ci skip] bump OS image
Oct 4, 2025
720332d
bump bosh-blobstore-gcs/0.0.330
Oct 7, 2025
bf69c25
[ci skip] bump OS image
Oct 7, 2025
c7f333e
bump bosh-blobstore-gcs/0.0.331
Oct 7, 2025
211e18a
[ci skip] bump OS image
Oct 7, 2025
532b8f6
Ignore SR-IOV VF interfaces for Azure stemcells
s4heid Oct 9, 2025
1816b70
bump bosh-blobstore-gcs/0.0.332
Oct 13, 2025
7e4e13b
[ci skip] bump OS image
Oct 13, 2025
86ffe30
bump bosh-blobstore-gcs/0.0.333
Oct 13, 2025
b64945e
[ci skip] bump OS image
Oct 13, 2025
33c8276
Improve chrony reliability on Azure: add systemd override (FIFO sched…
naioja Oct 16, 2025
94ab165
[ci skip] bump OS image
Oct 16, 2025
d10b0ad
[ci skip] bump OS image
Oct 16, 2025
84639b7
bump bosh-blobstore-gcs/0.0.334
Oct 16, 2025
d0d1c29
[ci skip] bump OS image
Oct 16, 2025
52069d9
Fix path to chrony.service
s4heid Oct 17, 2025
c9cc196
bump bosh-agent/2.769.0
Oct 18, 2025
44e9365
[ci skip] bump OS image
Oct 18, 2025
3d30753
bump bosh-blobstore-dav/0.0.438
Oct 18, 2025
64b5705
bump bosh-blobstore-gcs/0.0.335
Oct 18, 2025
f696b3e
[ci skip] bump OS image
Oct 18, 2025
a8950d9
[ci skip] bump OS image
Oct 18, 2025
3c93e9c
bump bosh-blobstore-azure-storage/0.0.188
Oct 18, 2025
fd16559
[ci skip] bump OS image
Oct 18, 2025
0854a0c
bump bosh-agent/2.770.0
Oct 18, 2025
394a656
[ci skip] bump OS image
Oct 18, 2025
e682518
bump bosh-agent/2.771.0
Oct 18, 2025
a35533f
[ci skip] bump OS image
Oct 18, 2025
bfcccc5
Merge pull request #445 from s4heid/fix-chrony-script
ramonskie Oct 19, 2025
e7ab30c
[ci skip] bump OS image
Oct 19, 2025
fe64dfb
[ci skip] bump OS image
Oct 20, 2025
e8f2940
[ci skip] bump OS image
Oct 22, 2025
ee7309a
Support passing syft version to dockerfile
selzoc Oct 22, 2025
aa91504
Merge pull request #446 from cloudfoundry/syft-dockerfile-jammy
selzoc Oct 22, 2025
d188d79
Remove old syft install in dockerfile
aramprice Oct 22, 2025
3d2b59f
Merge pull request #448 from cloudfoundry/remove-old-syft-jammy
selzoc Oct 22, 2025
7b9aa73
[ci skip] bump OS image
Oct 22, 2025
9f0ca57
[ci skip] bump OS image
Oct 23, 2025
76dfd1e
Disable floppy module
s4heid Oct 23, 2025
1a22da4
Merge pull request #443 from s4heid/ubuntu-jammy-sriov
aramprice Oct 23, 2025
10023e9
[ci skip] bump OS image
Oct 23, 2025
f794311
bump bosh-agent/2.772.0
Oct 23, 2025
3512756
[ci skip] bump OS image
Oct 23, 2025
6914025
[ci skip] bump OS image
Oct 24, 2025
b3ef02a
Set correct expectations for Azure SRIOV specs
s4heid Oct 24, 2025
4d31399
[ci skip] bump OS image
Oct 24, 2025
d598fa3
Merge pull request #451 from cloudfoundry/fix-specs
selzoc Oct 24, 2025
cc804f8
[ci skip] bump OS image
Oct 24, 2025
be638f6
bump bosh-blobstore-dav/0.0.439
Oct 25, 2025
fc4f3b2
bump bosh-blobstore-gcs/0.0.336
Oct 25, 2025
7067ba4
[ci skip] bump OS image
Oct 25, 2025
8df6ffe
[ci skip] bump OS image
Oct 25, 2025
5d137a3
bump bosh-blobstore-azure-storage/0.0.189
Oct 25, 2025
71b0e94
[ci skip] bump OS image
Oct 25, 2025
1cdadb5
bump bosh-agent/2.773.0
Oct 28, 2025
c041a77
bump bosh-blobstore-gcs/0.0.337
Oct 29, 2025
1c1b06b
[ci skip] bump OS image
Oct 29, 2025
5297553
Merge pull request #449 from s4heid/disable-floppy
rkoster Oct 30, 2025
a026f58
[ci skip] bump OS image
Oct 30, 2025
cea4a9f
bump bosh-agent/2.774.0
Oct 30, 2025
2f84476
bump bosh-agent/2.775.0
Oct 30, 2025
07348b0
[ci skip] bump OS image
Oct 30, 2025
616ba05
[ci skip] bump OS image
Oct 30, 2025
486d153
[ci skip] bump OS image
Oct 31, 2025
83c7bd9
bump bosh-blobstore-dav/0.0.440
Nov 1, 2025
c3cb1c1
bump bosh-blobstore-gcs/0.0.338
Nov 1, 2025
80cf486
[ci skip] bump OS image
Nov 1, 2025
cdbd050
[ci skip] bump OS image
Nov 1, 2025
3135ffc
bump bosh-blobstore-azure-storage/0.0.190
Nov 1, 2025
69e307c
[ci skip] bump OS image
Nov 1, 2025
d8a38ec
bump bosh-agent/2.776.0
Nov 6, 2025
337b436
bump bosh-agent/2.777.0
Nov 6, 2025
09b448b
[ci skip] bump OS image
Nov 6, 2025
fc7cf07
[ci skip] bump OS image
Nov 7, 2025
33092a4
bump bosh-blobstore-dav/0.0.441
Nov 8, 2025
f00a9e1
bump bosh-blobstore-gcs/0.0.339
Nov 8, 2025
19d65a3
[ci skip] bump OS image
Nov 8, 2025
aeee3fe
[ci skip] bump OS image
Nov 8, 2025
acb3c6c
bump bosh-blobstore-azure-storage/0.0.191
Nov 8, 2025
202fa89
[ci skip] bump OS image
Nov 8, 2025
ef6cbc1
[ci skip] bump OS image
Nov 10, 2025
27c5b71
Prevent kernel from auto-loading floppy
s4heid Nov 6, 2025
4123d5c
bump bosh-blobstore-gcs/0.0.340
Nov 12, 2025
4bf6ec0
bump bosh-blobstore-azure-storage/0.0.192
Nov 13, 2025
c665163
[ci skip] bump OS image
Nov 13, 2025
091b381
[ci skip] bump OS image
Nov 13, 2025
0caeb16
bump bosh-blobstore-azure-storage/0.0.193
Nov 13, 2025
4346c15
bump bosh-blobstore-azure-storage/0.0.194
Nov 13, 2025
d0177a7
bump bosh-blobstore-dav/0.0.442
Nov 13, 2025
b828669
[ci skip] bump OS image
Nov 13, 2025
d14a4f1
[ci skip] bump OS image
Nov 13, 2025
bdaf1c8
bump bosh-agent/2.778.0
Nov 13, 2025
6469085
[ci skip] bump OS image
Nov 13, 2025
f7df8b8
[ci skip] bump OS image
Nov 13, 2025
174e3a7
Merge pull request #454 from s4heid/floppy
aramprice Nov 13, 2025
5a2118f
[ci skip] bump OS image
Nov 13, 2025
2103ab6
bump bosh-blobstore-azure-storage/0.0.195
Nov 14, 2025
39ca24d
bump bosh-blobstore-gcs/0.0.341
Nov 14, 2025
418313e
[ci skip] bump OS image
Nov 14, 2025
690e6ec
[ci skip] bump OS image
Nov 14, 2025
7d8df27
Enable cloud-init apt-configure module for Azure stemcells
s4heid Nov 13, 2025
ef5bbc1
Mount /sys in system_kernel_modules for initramfs generation
s4heid Nov 14, 2025
28f7529
Merge pull request #455 from s4heid/fix-modules-dep
aramprice Nov 14, 2025
2291a1f
[ci skip] bump OS image
Nov 14, 2025
e615573
bump bosh-blobstore-azure-storage/0.0.196
Nov 14, 2025
990ee4e
[ci skip] bump OS image
Nov 15, 2025
c9ea268
bump bosh-blobstore-dav/0.0.443
Nov 15, 2025
65358b7
[ci skip] bump OS image
Nov 15, 2025
59f7e48
bump bosh-blobstore-azure-storage/0.0.197
Nov 15, 2025
fa499f6
[ci skip] bump OS image
Nov 15, 2025
8aa378e
bump bosh-blobstore-azure-storage/0.0.198
Nov 19, 2025
a5bf92a
bump bosh-blobstore-gcs/0.0.342
Nov 19, 2025
3e0b699
[ci skip] bump OS image
Nov 19, 2025
6d75ce3
Add Hyper-V KVP Daemon to Azure Stemcells (#453)
s4heid Nov 20, 2025
cb419c2
[ci skip] bump OS image
Nov 20, 2025
f2c55bd
Merge pull request #456 from s4heid/apt-azure-repository
ystros Nov 20, 2025
80d4a5a
bump bosh-blobstore-dav/0.0.444
Nov 20, 2025
4a55642
bump bosh-blobstore-gcs/0.0.343
Nov 20, 2025
3a26eea
[ci skip] bump OS image
Nov 20, 2025
1441370
[ci skip] bump OS image
Nov 20, 2025
fec8c10
[ci skip] bump OS image
Nov 20, 2025
0dc3741
bump bosh-blobstore-dav/0.0.445
Nov 20, 2025
338c027
[ci skip] bump OS image
Nov 21, 2025
2097ee9
bump bosh-agent/2.779.0
Nov 21, 2025
55271fe
[ci skip] bump OS image
Nov 21, 2025
96d74d9
bump bosh-agent/2.780.0
Nov 21, 2025
22365c9
[ci skip] bump OS image
Nov 21, 2025
d669105
Add linux-cloud-tools to expected azure packages
s4heid Nov 21, 2025
48bc073
bump bosh-blobstore-azure-storage/0.0.199
Nov 21, 2025
ea209b7
bump bosh-blobstore-gcs/0.0.344
Nov 21, 2025
6161d3e
[ci skip] bump OS image
Nov 21, 2025
aeecb1e
[ci skip] bump OS image
Nov 21, 2025
69f1c1f
bump bosh-agent/2.781.0
Nov 22, 2025
96784fd
[ci skip] bump OS image
Nov 22, 2025
d368d8b
bump bosh-blobstore-dav/0.0.446
Nov 22, 2025
9bb6fa9
[ci skip] bump OS image
Nov 22, 2025
56cec57
bump bosh-agent/2.782.0
Nov 22, 2025
b2a297e
[ci skip] bump OS image
Nov 22, 2025
c5ee5bf
Merge pull request #457 from s4heid/fix-azure-specs
aramprice Nov 26, 2025
5d716b5
[ci skip] bump OS image
Nov 26, 2025
99e5efb
bump bosh-blobstore-azure-storage/0.0.200
Nov 27, 2025
d3c2857
bump bosh-blobstore-gcs/0.0.345
Nov 27, 2025
7e9398c
[ci skip] bump OS image
Nov 27, 2025
c11371d
[ci skip] bump OS image
Nov 27, 2025
0905286
bump bosh-agent/2.783.0
Nov 27, 2025
8239522
[ci skip] bump OS image
Nov 27, 2025
0550198
bump bosh-agent/2.784.0
Nov 27, 2025
cda9dbe
[ci skip] bump OS image
Nov 27, 2025
1efda64
bump bosh-blobstore-dav/0.0.447
Nov 29, 2025
5776684
bump bosh-blobstore-gcs/0.0.346
Nov 29, 2025
962807c
[ci skip] bump OS image
Nov 29, 2025
97a04a3
[ci skip] bump OS image
Nov 29, 2025
617c4dc
bump bosh-agent/2.785.0
Nov 29, 2025
7309c63
[ci skip] bump OS image
Nov 29, 2025
aa224fa
bump bosh-blobstore-gcs/0.0.347
Dec 2, 2025
e6afd7a
[ci skip] bump OS image
Dec 2, 2025
e4c95ed
bump bosh-agent/2.786.0
Dec 2, 2025
1fc066b
[ci skip] bump OS image
Dec 2, 2025
20de4be
bump bosh-blobstore-azure-storage/0.0.201
Dec 2, 2025
0d5d6ee
bump bosh-blobstore-gcs/0.0.348
Dec 2, 2025
1cb28d9
[ci skip] bump OS image
Dec 2, 2025
8a0620f
[ci skip] bump OS image
Dec 2, 2025
ff1e409
bump bosh-agent/2.787.0
Dec 2, 2025
5a0fc61
[ci skip] bump OS image
Dec 2, 2025
5ed1c3a
Update waagent to `v2.15.0.1` and keep systemd config in sync
s4heid Dec 2, 2025
718bb01
Initialize log directory required by waagent
s4heid Dec 3, 2025
04226b0
bump bosh-agent/2.788.0
Dec 4, 2025
ff25dfd
[ci skip] bump OS image
Dec 4, 2025
bf6a0d7
[ci skip] bump OS image
Dec 5, 2025
8d37e59
bump bosh-agent/2.789.0
Dec 6, 2025
6f8821a
[ci skip] bump OS image
Dec 6, 2025
ef28669
bump bosh-blobstore-dav/0.0.448
Dec 6, 2025
d1a2e9a
bump bosh-blobstore-gcs/0.0.349
Dec 6, 2025
9419d9b
[ci skip] bump OS image
Dec 6, 2025
96c63b8
[ci skip] bump OS image
Dec 6, 2025
7164efb
bump bosh-blobstore-azure-storage/0.0.202
Dec 6, 2025
4220da1
[ci skip] bump OS image
Dec 6, 2025
7c43ee1
bump bosh-agent/2.790.0
Dec 9, 2025
0405541
[ci skip] bump OS image
Dec 9, 2025
db3c593
Merge pull request #461 from s4heid/waagent-update
aramprice Dec 11, 2025
cc4f554
[ci skip] bump OS image
Dec 11, 2025
6b6267b
bump bosh-agent/2.791.0
Dec 11, 2025
4ccb5ce
[ci skip] bump OS image
Dec 11, 2025
d13920c
Fix race condition causing sshd start failure during provisioning
s4heid Nov 26, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Contributing to BOSH Linux Stemcell Builder

Please ensure that changes are made to any current branches. These are named
after the Ubuntu release they are based on, ex: `ubuntu-<short name>`

At the time of writing (2025-05-29) there are two "stemcell lines":
- `ubuntu-jammy`
- `ubuntu-noble`

26 changes: 13 additions & 13 deletions bosh-stemcell/image-metalinks/ubuntu-jammy/ubuntu-jammy.meta4
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
<metalink xmlns="urn:ietf:params:xml:ns:metalink">
<file name="ubuntu-jammy.tgz">
<hash type="sha-512">36b725904f5cdf2d2f192f042b486c25a3211a306d36fdefbcffa90ff3c693930ce1e5a3783f89c8f7874f966b65fdde8a1be819a722483b6836b90750b63f60</hash>
<hash type="sha-256">e3b9740653c42bc4d5ec67cc91f8ac4d0523c743b605c006dc1858d705e2e050</hash>
<hash type="sha-1">9eb41c3e7bf3339dfe1a57ff2abd528d8b94919d</hash>
<hash type="md5">68562cf523a90a2962a2cb7ab2f45392</hash>
<size>430181586</size>
<hash type="sha-512">5ba90a8dc6174da0301cb3550e1589b325f245b234cded1dfe2f65199097dbe4fc93c593d50c83358f141db392a5414aad993a090512cfe3c2b9a75027fb0cc8</hash>
<hash type="sha-256">889b9f74e77fb6a5cbc951d87c4ba079b6d0b6a04d5a1c6972ac6f1370b19197</hash>
<hash type="sha-1">e62af26992a7002a42daaa6e975b7c7aef728681</hash>
<hash type="md5">68fcebf4b3dd9426b61162ee80389199</hash>
<size>433038392</size>
<url>https://storage.googleapis.com/bosh-os-images/ubuntu-jammy/ubuntu-jammy.tgz</url>
<version>692.0.0</version>
<version>898.0.0</version>
</file>
<file name="usn-log.json">
<hash type="sha-512">3c2e169e4be3f55a8064a2a661bf2cbfa2b661b3971476a7b2fb9902fc139c1904cc95b2932c97d8215680bf3460b994a24eb7c39456f2808b83fec49504bbd0</hash>
<hash type="sha-256">37217838befd2d25284fe2101b2134297587f237df60d58b6038ee648b7062f0</hash>
<hash type="sha-1">67ba95e681fda46c1d2acbf449760bdf194b8c3d</hash>
<hash type="md5">2dba86dbb6642275ccaaac109be96788</hash>
<size>5333</size>
<hash type="sha-512">5f7a377194063277317f60a42f208517ffde8d499298ba9b375092d74a018b1ff5b017f170c992852b3065be1a22f4e5f065ae309fedcfeb6628f85b265cd1ed</hash>
<hash type="sha-256">6df9587b59ec8b69ab39599912d3001d49b2c4501831fd74a4878f83d8a47fca</hash>
<hash type="sha-1">b4130f6d81f30813f408125b34cb1a7e0c821750</hash>
<hash type="md5">1633ca69fc054acabeb666200268429c</hash>
<size>4870</size>
<url>https://storage.googleapis.com/bosh-os-images/ubuntu-jammy/usn-log.json</url>
<version>692.0.0</version>
<version>898.0.0</version>
</file>
<generator>metalink-repository-resource/0.0.0</generator>
<published>2025-02-07T02:54:35.957019959Z</published>
<published>2025-12-11T18:24:00.867026985Z</published>
</metalink>
10 changes: 9 additions & 1 deletion bosh-stemcell/lib/bosh/stemcell/stage_collection.rb
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ def openstack_stages
bosh_harden
bosh_openstack_agent_settings
bosh_clean_ssh
restore_apt_sources
image_create
image_install_grub
sbom_create
Expand All @@ -123,6 +124,7 @@ def cloudstack_stages
bosh_harden
bosh_cloudstack_agent_settings
bosh_clean_ssh
restore_apt_sources
image_create
image_install_grub
sbom_create
Expand All @@ -141,6 +143,7 @@ def vsphere_vcloud_stages
:bosh_enable_password_authentication,
:bosh_vsphere_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
# when adding a stage that changes files in the image, do so before
# this line. Image create will make the image so any changes to the
# filesystem after it won't apply.
Expand All @@ -160,6 +163,7 @@ def aws_stages
:bosh_aws_agent_settings,
:bosh_clean_ssh,
:udev_aws_rules,
:restore_apt_sources,
# when adding a stage that changes files in the image, do so before
# this line. Image create will make the image so any changes to the
# filesystem after it won't apply.
Expand All @@ -178,6 +182,7 @@ def alicloud_stages
bosh_harden
bosh_alicloud_agent_settings
bosh_clean_ssh
restore_apt_sources
image_create
image_install_grub
sbom_create
Expand All @@ -194,6 +199,7 @@ def google_stages
:bosh_harden,
:bosh_google_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
# when adding a stage that changes files in the image, do so before
# this line. Image create will make the image so any changes to the
# filesystem after it won't apply.
Expand All @@ -210,6 +216,7 @@ def warden_stages
:bosh_clean,
:bosh_harden,
:bosh_clean_ssh,
:restore_apt_sources,
# when adding a stage that changes files in the image, do so before
# this line. Image create will make the image so any changes to the
# filesystem after it won't apply.
Expand All @@ -230,6 +237,7 @@ def azure_stages
:bosh_harden,
:bosh_azure_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
# when adding a stage that changes files in the image, do so before
# this line. Image create will make the image so any changes to the
# filesystem after it won't apply.
Expand All @@ -252,6 +260,7 @@ def softlayer_stages
:bosh_softlayer_agent_settings,
:bosh_config_root_ssh_login,
:bosh_clean_ssh,
:restore_apt_sources,
# when adding a stage that changes files in the image, do so before
# this line. Image create will make the image so any changes to the
# filesystem after it won't apply.
Expand All @@ -263,7 +272,6 @@ def softlayer_stages
def finish_stemcell_stages
[
:bosh_package_list,
:restore_apt_sources,
]
end

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ python3-lib2to3
python3-pyasn1
python3-setuptools
cloud-init
linux-cloud-tools-5.15
linux-cloud-tools-5.15-generic
linux-cloud-tools-common
linux-cloud-tools-generic
netplan.io
python-babel-localedata
python3-attr
Expand Down
20 changes: 10 additions & 10 deletions bosh-stemcell/spec/bosh/stemcell/stage_collection_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@ module Bosh::Stemcell
:bosh_aws_agent_settings,
:bosh_clean_ssh,
:udev_aws_rules,
:restore_apt_sources,
:image_create,
:image_install_grub,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
}
let(:aws_package_stemcell_stages) {
Expand Down Expand Up @@ -124,11 +124,11 @@ module Bosh::Stemcell
:bosh_harden,
:bosh_alicloud_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create,
:image_install_grub,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
}

Expand Down Expand Up @@ -158,11 +158,11 @@ module Bosh::Stemcell
:bosh_harden,
:bosh_google_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create,
:image_install_grub,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
}

Expand Down Expand Up @@ -195,11 +195,11 @@ module Bosh::Stemcell
:bosh_harden,
:bosh_openstack_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create,
:image_install_grub,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
)
expect(stage_collection.package_stemcell_stages('qcow2')).to eq(
Expand Down Expand Up @@ -227,11 +227,11 @@ module Bosh::Stemcell
:bosh_harden,
:bosh_cloudstack_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create,
:image_install_grub,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
)
expect(stage_collection.package_stemcell_stages('qcow2')).to eq(
Expand All @@ -258,11 +258,11 @@ module Bosh::Stemcell
:bosh_enable_password_authentication,
:bosh_vsphere_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create_efi,
:image_install_grub_efi,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
)
expect(stage_collection.package_stemcell_stages('ovf')).to eq(vmware_package_stemcell_steps)
Expand All @@ -287,11 +287,11 @@ module Bosh::Stemcell
:bosh_enable_password_authentication,
:bosh_vsphere_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create_efi,
:image_install_grub_efi,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
)
expect(stage_collection.package_stemcell_stages('ovf')).to eq(vmware_package_stemcell_steps)
Expand All @@ -313,11 +313,11 @@ module Bosh::Stemcell
:bosh_harden,
:bosh_azure_agent_settings,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create,
:image_install_grub,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
}

Expand Down Expand Up @@ -354,10 +354,10 @@ module Bosh::Stemcell
:bosh_softlayer_agent_settings,
:bosh_config_root_ssh_login,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create_softlayer_two_partitions,
:image_install_grub_softlayer_two_partitions,
:bosh_package_list,
:restore_apt_sources,
]
)
expect(stage_collection.package_stemcell_stages('ovf')).to eq(vmware_package_stemcell_steps)
Expand All @@ -374,11 +374,11 @@ module Bosh::Stemcell
:bosh_clean,
:bosh_harden,
:bosh_clean_ssh,
:restore_apt_sources,
:image_create,
:image_install_grub,
:sbom_create,
:bosh_package_list,
:restore_apt_sources,
]
}
let(:package_stemcell_stages) {
Expand Down
85 changes: 85 additions & 0 deletions bosh-stemcell/spec/stemcells/azure_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,89 @@
its(:content) { should include('"PartitionerType": "parted"') }
end
end

context 'cloud-init Azure APT mirror configuration' do
describe file('/etc/cloud/cloud.cfg.d/90-azure-apt-sources.cfg') do
it { should be_file }
its(:content) { should include('http://azure.archive.ubuntu.com/ubuntu/') }
end

describe file('/etc/cloud/cloud.cfg') do
it { should be_file }
its(:content) { should include('apt-configure') }
end
end

context 'installed by system_azure_network', {
exclude_on_alicloud: true,
exclude_on_aws: true,
exclude_on_google: true,
exclude_on_vcloud: true,
exclude_on_vsphere: true,
exclude_on_warden: true,
exclude_on_openstack: true,
exclude_on_softlayer: true,
} do
describe 'SR-IOV VF udev rules' do
subject { file('/etc/udev/rules.d/10-azure-sriov-unmanaged.rules') }

it { should be_mode(0644) }
it { should be_owned_by('root') }

its(:content) { should match /SUBSYSTEM=="net"/ }
its(:content) { should match /ATTR\{flags\}=="0x\?\[89ABCDEF\]\*"/ }
its(:content) { should match /ENV\{AZURE_UNMANAGED_SRIOV\}="1"/ }
its(:content) { should match /ENV\{ID_NET_MANAGED_BY\}="unmanaged"/ }
its(:content) { should match /ENV\{NM_UNMANAGED\}="1"/ }
its(:content) { should match /ATTR\{ifalias\}="sriov-vf"/ }
end

describe 'systemd network configuration for unmanaged SR-IOV devices' do
subject { file('/etc/systemd/network/01-azure-sriov-unmanaged.network') }

it { should be_mode(0644) }
it { should be_owned_by('root') }

its(:content) { should match /\[Match\]/ }
its(:content) { should match /Property=AZURE_UNMANAGED_SRIOV=1/ }
its(:content) { should match /\[Link\]/ }
its(:content) { should match /Unmanaged=yes/ }
end
end

context 'installed by system_azure_init', {
exclude_on_alicloud: true,
exclude_on_aws: true,
exclude_on_google: true,
exclude_on_vcloud: true,
exclude_on_vsphere: true,
exclude_on_warden: true,
exclude_on_openstack: true,
exclude_on_softlayer: true,
} do
describe 'Hyper-V KVP daemon' do
describe command('which hv_kvp_daemon') do
its(:exit_status) { should eq 0 }
end

describe service('hv-kvp-daemon') do
it { should be_enabled }
end
end

describe 'WALinuxAgent configuration' do
describe file('/etc/waagent.conf') do
it { should be_owned_by('root') }
end

describe file('/lib/systemd/system/walinuxagent.service') do
it { should be_mode(0644) }
it { should be_owned_by('root') }
end

describe service('walinuxagent') do
it { should be_enabled }
end
end
end
end
2 changes: 2 additions & 0 deletions bosh-stemcell/spec/stemcells/stig_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,8 @@
V-75779
V-75865
V-75851
V-260477
V-260520
]

expected_stig_test_cases = expected_base_stig_test_cases
Expand Down
4 changes: 2 additions & 2 deletions bosh-stemcell/spec/support/os_image_chrony_shared_examples.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
shared_examples_for 'an os with chrony' do
describe '(stig: V-38620 V-38621)' do
describe '(stig: V-38620 V-38621 V-260520)' do
describe file('/var/vcap/bosh/bin/sync-time') do
it { should be_file }
its(:content) { should match(/chronyc reload sources/) }
Expand All @@ -8,7 +8,7 @@

describe file('/etc/chrony/chrony.conf') do
it { should be_file }
its(:content) { should match(/makestep 1 3/) }
its(:content) { should match(/makestep 1 -1/) }
end
end
end
Original file line number Diff line number Diff line change
Expand Up @@ -83,4 +83,10 @@
its(:content) { should match 'install rds /bin/true' }
end
end

context 'prevent floppy module from being loaded' do
describe file('/etc/modprobe.d/blacklist.conf') do
its(:content) { should match 'install floppy /bin/true' }
end
end
end
Loading
Loading