mirror of
https://github.com/xcat2/xcat-core.git
synced 2026-09-24 08:44:04 +00:00
style(xcat-core): the netplan test comment traces the failure across four layers
The comment on the use-domains assertion in ubuntu_subiquity_installnic.t followed the missing search domain from systemd-networkd through updateflag.awk to a node stuck in postbooting. The assertion below it already names what is checked. The comment now carries the one fact the code does not show: networkd defaults UseDomains to no. Signed-off-by: Daniel Hilst <392820+dhilst@users.noreply.github.com>
This commit is contained in:
@@ -139,9 +139,7 @@ SKIP: {
|
||||
"the netplan written for $case->{name} matches the resolved values");
|
||||
|
||||
# systemd-networkd defaults UseDomains to no, so a netplan carrying dhcp4: true alone
|
||||
# takes the DNS server from DHCP and drops the offered domain-search. The node then
|
||||
# resolves no single-label name: updateflag.awk runs "$MASTER 3002" with the short
|
||||
# management node name, cannot resolve it, and the node never leaves postbooting.
|
||||
# drops the search domain DHCP offers, and no single-label name resolves on the node.
|
||||
like($netplan, qr/^\s+use-domains: true$/m,
|
||||
"the netplan for $case->{name} asks networkd to use the DHCP search domain");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user