Merge pull request #8982 from hashicorp/b-exec-dns-resolv
drivers/exec: fix DNS resolution in systemd hosts
This commit is contained in:
commit
2e9e8ccc24
|
@ -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",
|
||||
}
|
||||
)
|
||||
|
||||
|
|
Loading…
Reference in a new issue