-----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 > > On Sunday, April 27, 2014 3:26 PM, Keith Wesolowski > <[email protected]> wrote: On Sat, Apr 26, 2014 at > 06:02:28PM -0700, G B wrote: > > >> Where does one setup Sendmail on a SmarOS Zone vm for base64? > /etc/mail does exist, but since /etc gets recreated on boot, where > does one put Sendmail config files? > > > /etc in zones is persistent; why do you think it gets recreated at > boot? That said, I would suggest installing an MTA from pkgsrc and > using that instead of the platform mailer, in which case you > probably won't be dealing with /etc/mail at all. > -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBAgAGBQJTYEbLAAoJEP0rIXJNjNSAlXkIAMIgsbV/D3+O/Rgmx4wVWQwM hXk4Tej+mS9mQTr1cKFQTweul+P2XUHb8Abfvotwca8SqN+lJ2OcjQ3eh4OdCoqt qluWpxNVZOdqI2ePIvkltSjSLaJZ+AXfHWD1DVcsB00AIG8d6c32viCHb13/X465 8gvyWt0fQRE/EeEn2oDqw4dSDpDUtMK4kggYtN5TNmJ4QGzRJYnI93iGHmwYY7bi 59vnpijqf9HH5irbbF+G4MrRmGju6HUolnYj0gcK8mL023OZBuRRhvOAnbU5PrPE DuENN8fkPjuH3dwGgYBEaXaEsV6n1/rVeS+6ba+RHm4hXvXfyq0vnO+lOatXl/E= =qQew -----END PGP SIGNATURE----- ------------------------------------------- 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
