On Monday, 21.12.2015 at 15:25, Martin Lucina wrote:
> 2. "env", "hostname", "net": Hopefully nothing controversial here. I plan
> to add a "net.dns{}" to generate resolv.conf and support for NFS mounts in
> some form, tentatively as "net.mount{}".
I have now implemented support for configuring the DNS resolver. Excerpt
from the spec should be self-explanatory:
"dns": {
"nameservers": [
<ip-address>,
...
],
"search": [
<domain-suffix>,
...
]
}
Given that the rumprun launcher script is in limbo, I have not (and don't
plan to) added any support for this there.
Note that configuring the resolver requires being able to create/truncate
"/etc/resolv.conf" so it won't work out of the box with the current stubetc
in rumprun-packages. I'm using a stubetc with "resolv.conf" symlinked to
"/resolv.conf" for testing.
There's a separate discussion to be had about what to do with /etc, but one
thing at a time :-)
Martin