Skip to content

Commit

Permalink
Merge pull request #905 from hashicorp/b-resolvconf
Browse files Browse the repository at this point in the history
executor: add /run/resolvconf to chroot
  • Loading branch information
dadgar committed Mar 10, 2016
2 parents 7325873 + 923618c commit 924ad80
Showing 1 changed file with 11 additions and 10 deletions.
21 changes: 11 additions & 10 deletions client/driver/executor/executor_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,17 @@ var (
// A mapping of directories on the host OS to attempt to embed inside each
// task's chroot.
chrootEnv = map[string]string{
"/bin": "/bin",
"/etc": "/etc",
"/lib": "/lib",
"/lib32": "/lib32",
"/lib64": "/lib64",
"/sbin": "/sbin",
"/usr/bin": "/usr/bin",
"/usr/sbin": "/usr/sbin",
"/usr/lib": "/usr/lib",
"/usr/share": "/usr/share",
"/bin": "/bin",
"/etc": "/etc",
"/lib": "/lib",
"/lib32": "/lib32",
"/lib64": "/lib64",
"/sbin": "/sbin",
"/usr/bin": "/usr/bin",
"/usr/sbin": "/usr/sbin",
"/usr/lib": "/usr/lib",
"/usr/share": "/usr/share",
"/run/resolvconf": "/run/resolvconf",
}
)

Expand Down

0 comments on commit 924ad80

Please sign in to comment.