Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
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
3 changes: 2 additions & 1 deletion ci/tasks/test-main-docker-cpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ SHA1=$(cat stemcell/sha1)

bosh upload-stemcell --sha1 "$SHA1" "$URL"

bosh -n update-runtime-config "${bosh_deployment}/runtime-configs/dns.yml"
bosh -n update-runtime-config "${bosh_deployment}/runtime-configs/dns.yml" \
--ops-file "${bosh_deployment}/warden/noble-dns.yml"

echo "-----> $(date): Deploy"
bosh -n -d zookeeper deploy "${bosh_deployment}/ci/assets/zookeeper.yml"
Expand Down
3 changes: 2 additions & 1 deletion ci/tasks/test-main-warden-cpi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@ SHA1=$(cat stemcell/sha1)

bosh upload-stemcell --sha1 "$SHA1" "$URL"

bosh -n update-runtime-config "${bosh_deployment}/runtime-configs/dns.yml"
bosh -n update-runtime-config "${bosh_deployment}/runtime-configs/dns.yml" \
--ops-file "${bosh_deployment}/warden/noble-dns.yml"

echo "-----> $(date): Deploy"
bosh -n -d zookeeper deploy "${bosh_deployment}/ci/assets/zookeeper.yml"
Expand Down
1 change: 1 addition & 0 deletions virtualbox/create-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ STEP "Updating Runtime Config"
####

bosh -n update-runtime-config "${bosh_deployment}/runtime-configs/dns.yml" \
--ops-file "${bosh_deployment}/warden/noble-dns.yml" \
> /dev/null

echo Succeeded
Expand Down
18 changes: 18 additions & 0 deletions warden/noble-dns.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
# Overrides bosh-dns configuration for ubuntu-noble on warden/bosh-lite.
#
# On non-warden noble VMs, disable_recursors=true is correct — systemd-resolved
# handles external DNS via DHCP-provided upstream (e.g. 169.254.169.254 on GCP).
#
# On warden containers there is no physical NIC and no DHCP, so systemd-resolved
# has no global upstream. bosh-dns must handle external resolution directly via
# an explicit recursor. 169.254.169.254 is the link-local metadata DNS available
# on GCP, AWS, and Azure.
- type: replace
path: /addons/name=bosh-dns-systemd/jobs/name=bosh-dns/properties/disable_recursors
value: false

- type: replace
path: /addons/name=bosh-dns-systemd/jobs/name=bosh-dns/properties/recursors?
value:
- 169.254.169.254