Skip to content

Commit

Permalink
MTL-2000 packages.local cname
Browse files Browse the repository at this point in the history
Adds `packages.local` as a CNAME to `packages.nmn`. This will trump
`statics.conf`, causing `packages.local` to resolve to the PIT nexus
while DNSMasq is running.

This is compatible with the MTL-2000 cloud-init code, this new CNAME
will allow `packages.local` to correctly resolve to PIT nexus during
bootstrap. Then, during the csm install, when DNSMasq is shutdown
`packages.local` will begin resolving to k8s nexus.
  • Loading branch information
rustydb committed Sep 18, 2023
1 parent 432453c commit 356beaa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/pit/dnsmasq.go
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,7 @@ interface-name=pit.nmn,bond0.nmn0
domain=nmn,{{.CIDR.IP}},{{.DHCPEnd}},local
dhcp-option=interface:bond0.nmn0,option:domain-search,nmn
interface=bond0.nmn0
cname=packages.local,pit.nmn
cname=packages.nmn,pit.nmn
cname=registry.nmn,pit.nmn
# This needs to point to the liveCD IP for provisioning in bare-metal environments.
Expand Down

0 comments on commit 356beaa

Please sign in to comment.