jan damborsky wrote:
> Hi Dave,
> 
> 
> Dave Miner wrote:
>> jan damborsky wrote:
>>> Hi,
>>>
>>> when testing latest AI images, I have realized
>>> that we currently don't have any naming services
>>> functional in AI image.
>>>
>>> As far as user perspective is concerned, at least
>>> one visible impact is that AI installer can't
>>> successfully process AI manifest, if the
>>> address of IPS repository is not passed in
>>> the form of raw IP.
>>>
>>> Based on this, it seems that we should have
>>> some naming service running in AI image. I was
>>> thinking about DNS, but not sure if this is
>>> the approach we want to follow.
>>>
>>> Please let me know what you think.
>>> Comments and suggestions are highly appreciated.
>>>
>>
>> You should have mdns, nsswitch.conf just needs to be set to use it.  
>> I'd expect that DNS should be automatically configured during boot if 
>> a server list is provided by DHCP.
> 
> It seems we have DNS enabled, but it is in 'offline' state, because
> /etc/resolv.conf is not being populated even if DHCP server provides
> information about DNS servers ('dhcpinfo DNSserv' returns correct values).
> Looking at the code, /lib/svc/method/net-svc populates /etc/resolv.conf
> in case 'nwam' is not enabled.
> I have realized that 'nwam' instance of svc:/network/physical service 
> currently
> takes care of network configuration in AI, 'default' is disabled.
> I think that we could switch to 'default' instead of 'nwam', since
> we won't be taking advantage of nwam features and it seems 'default'
> should take care of configuring DNS.
> Do you think it might be the good approach to follow ?
> 

Yes, AI and NWAM really aren't compatible at this stage, I would expect.

Dave

Reply via email to