Skip to content

Commit

Permalink
https://packages/ is hit during MTL
Browse files Browse the repository at this point in the history
During a fresh install (before CSM), we will be calling the `zypper_add_repos` module
before `net-init.sh` runs when only `mtl` resolves in DNS.

During upgrades when CSM is installed, `packages` will resolve properly
to the 10.92 address.
  • Loading branch information
rustydb committed Aug 16, 2023
1 parent e36ff20 commit 53dd1e5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/pit/dnsmasq.go
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,8 @@ domain=mtl,{{.CIDR.IP}},{{.DHCPEnd}},local
dhcp-option=interface:bond0,option:domain-search,mtl
interface=bond0
interface-name=pit.mtl,bond0
cname=packages.mtl,pit.mtl
cname=registry.mtl,pit.mtl
# This needs to point to the liveCD IP for provisioning in bare-metal environments.
dhcp-option=interface:bond0,option:dns-server,{{.PITServer}}
dhcp-option=interface:bond0,option:ntp-server,{{.PITServer}}
Expand Down

0 comments on commit 53dd1e5

Please sign in to comment.