diff options
Diffstat (limited to 'usr/src')
-rw-r--r-- | usr/src/lib/brand/joyent/zone/statechange.ksh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/src/lib/brand/joyent/zone/statechange.ksh b/usr/src/lib/brand/joyent/zone/statechange.ksh index cca6df6a1e..62e7e661f8 100644 --- a/usr/src/lib/brand/joyent/zone/statechange.ksh +++ b/usr/src/lib/brand/joyent/zone/statechange.ksh @@ -213,8 +213,8 @@ setup_net() # Get the static IP for the vnic from the zone config file, but only - # if there's not an IP from the zone properties - hostname_file="/zones/$ZONENAME/root/etc/hostname.$nic" + # if there's not an IP from the zone properties + hostname_file="$ZONEPATH/root/etc/hostname.$nic" if [[ -z "${zone_ip}" ]] && [ -e $hostname_file ]; then zone_ip=`nawk \ '{if ($1 ~ /[0-9]+\.[0-9]+\.[0-9]+\.[0-9]+/) |