Containers: Use /etc/resolv.conf supplied by the host

This used to work with systemd-nspawn 203, because it bind-mounted
/etc/resolv.conf (so openresolv couldn't overwrite it). Now it's just
copied, so we need some special handling.
This commit is contained in:
Eelco Dolstra
2014-04-18 16:48:11 +02:00
parent 5c62d3d26b
commit 21573af9fb
4 changed files with 19 additions and 2 deletions
@@ -8,6 +8,8 @@ with lib;
sound.enable = mkDefault false;
networking.useHostResolvConf = true;
# Provide a login prompt on /var/lib/login.socket. On the host,
# you can connect to it by running socat
# unix:<path-to-container>/var/lib/login.socket -,echo=0,raw.