Project

General

Profile

Feature #8689

Update identity-node to work for an exclusive-IP, DHCP, non-global zone

Added by C Fraire about 3 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
networking
Start date:
2017-09-29
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:
needs-triage
Gerrit CR:

Description

For a DHCP global zone, identity-node (svc:/system/identity:node) will use DHCP Hostname if returned. identity-node does nothing for an exclusive-IP, DHCP, non-global zone, but it could do easily the same -- but ensuring the previously-existing, non-global zone fallback to `uname -n` after /etc/nodename for DHCP as well.

Also, identity-node only tries once to fetch Hostname from dhcpagent (dhcpinfo), which generally works for a global zone. For fast-booting non-global zones, there needs to be a few seconds allowance — so update to retry checks for a short interval. (The repeating query will be OK as well for a global zone).

No data to display

Also available in: Atom PDF