[lxc-users] distrobuilder: Initialize resolv.conf for build images

Geaaru geaaru at gmail.com
Sun May 19 20:30:49 UTC 2019


Hi,

currently, distrobuilder before executing the chroot command for  the
Rootfs of the image execute the binding of /etc/resolv.conf from the
host.

This is correct for resolve domains usually but like in my use case I
need change resolv.conf of the image to initialize correctly systemd-
resolved service and catch correctly DNS configuration options
forwarded by dnsmasq service of the lxd network.

Do you think that could be file enable an option that avoids mount of
the /etc/resolv.conf file?

-- geaaru
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20190519/e7524b0d/attachment.html>


More information about the lxc-users mailing list