Merge pull request #8982 from hashicorp/b-exec-dns-resolv

drivers/exec: fix DNS resolution in systemd hosts
This commit is contained in:
Mahmood Ali 2020-09-29 11:39:43 -05:00 committed by GitHub
commit 2e9e8ccc24
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,6 +57,11 @@ var (
"/run/resolvconf": "/run/resolvconf",
"/sbin": "/sbin",
"/usr": "/usr",
// embed systemd-resolved paths for systemd-resolved paths:
// /etc/resolv.conf is a symlink to /run/systemd/resolve/stub-resolv.conf in such systems.
// In non-systemd systems, this mount is a no-op and the path is ignored if not present.
"/run/systemd/resolve": "/run/systemd/resolve",
}
)