Quote:
Originally Posted by
reborg
Why would you take this route? If the zone is frozen than you won't be able to access it. On the other have if you can examine /etc/zones, aren't you already in the global zone?
If you need the information within the zone, then just provision the hostname of the global zone in /etc/hosts in the NGZ as part of your zone creation routine.
The following scenenario may explain my need.
1. I ssh login to a NGZ and I want to reboot it.
2. Before issue init 6, I know it may freeze when rebooting.
3. Without any documentation, I need to find out the IP of the GZ
4. so I can ssh to GZ, ready to issue "zoneadm -z xx reboot" when NGZ freeze.