summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Dodson <sdodson@redhat.com>2017-06-13 11:29:06 -0400
committerGitHub <noreply@github.com>2017-06-13 11:29:06 -0400
commitd5a77cd315a877cc3f9e4f3aed240052338ea741 (patch)
tree81578cd154ab78242cf868d7652514d74059b5dd
parente768cf9420b967527d0e7b2323aedc131c9a27a6 (diff)
parentd4a8eb3b492a7af2dc48996792ecf95556b615cc (diff)
downloadopenshift-d5a77cd315a877cc3f9e4f3aed240052338ea741.tar.gz
openshift-d5a77cd315a877cc3f9e4f3aed240052338ea741.tar.bz2
openshift-d5a77cd315a877cc3f9e4f3aed240052338ea741.tar.xz
openshift-d5a77cd315a877cc3f9e4f3aed240052338ea741.zip
Merge pull request #4432 from giuseppe/installer-dns
installer: add bind mount for /etc/resolv.conf
-rw-r--r--images/installer/system-container/root/exports/config.json.template10
1 files changed, 10 insertions, 0 deletions
diff --git a/images/installer/system-container/root/exports/config.json.template b/images/installer/system-container/root/exports/config.json.template
index 383e3696e..718ce1d53 100644
--- a/images/installer/system-container/root/exports/config.json.template
+++ b/images/installer/system-container/root/exports/config.json.template
@@ -171,6 +171,16 @@
]
},
{
+ "destination": "/etc/resolv.conf",
+ "type": "bind",
+ "source": "/etc/resolv.conf",
+ "options": [
+ "ro",
+ "rbind",
+ "rprivate"
+ ]
+ },
+ {
"destination": "/sys/fs/cgroup",
"type": "cgroup",
"source": "cgroup",