On Apr 29, 2014, at 8:41 PM, Alain O'Dea via smartos-discuss 
<[email protected]> wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On 14-04-27 09:39 PM, G B wrote:
>> Before setting resolvers in my .json file I would create my 
>> /etc/resolv.conf and after rebooting my zone the resolv.conf was
>> gone, hence it was a reasonable assumption that /etc gets
>> recreated.
> 
> If you set resolvers and dns_domain in your JSON payload they'll get
> persisted correctly.  Here's an example from my home network:
> https://github.com/AlainODea/home_network/blob/master/machines/ns1.json#L6-10
> 
> They can also be tweaked using zonecfg after zone creation:
> https://gist.github.com/mattconnolly/6127693
> 
> The dns_domain attribute can also be set from within attr scope:
> zoncfg:uuid:attr> set dns_domain=alainodea.local
> 

Is there any provision currently to set search domains or other resolve.conf 
options?

-c

-------------------------------------------
smartos-discuss
Archives: https://www.listbox.com/member/archive/184463/=now
RSS Feed: https://www.listbox.com/member/archive/rss/184463/25769125-55cfbc00
Modify Your Subscription: 
https://www.listbox.com/member/?member_id=25769125&id_secret=25769125-7688e9fb
Powered by Listbox: http://www.listbox.com

Reply via email to