[OmniOS-discuss] Change Zone Hostname

Dan McDonald danmcd at omniti.com
Thu Dec 11 07:16:05 UTC 2014


Editing nodename and rebooting the zone will give it a different name.  I do this on my own HDC.

Dan

Sent from my iPhone (typos, autocorrect, and all)

> On Dec 11, 2014, at 1:30 AM, Tim Rice <tim at multitalents.net> wrote:
> 
>> On Wed, 10 Dec 2014, Alex McWhirter wrote:
>> 
>> I have a small cluster of servers hosting zones over multiple VLAN’s. I would like to name the zones so that they don’t run into naming collisions. For example, instead of “web0” i would like to name them “2049_web0” and “2050_web0”. The problem is that this set’s the hostname to “XXXX_web0”. Is there a way to change the hostname to be something different than the zone name?
>> 
>> I had a look at /etc/nodname and it is an empty file when used in a zone.
> 
> What happens if you put the hostname you want in /etc/nodname ?
> 
> 
> -- 
> Tim Rice                Multitalents
> tim at multitalents.net
> _______________________________________________
> OmniOS-discuss mailing list
> OmniOS-discuss at lists.omniti.com
> http://lists.omniti.com/mailman/listinfo/omnios-discuss


More information about the OmniOS-discuss mailing list