diff options
author | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-06-13 17:23:32 +0200 |
---|---|---|
committer | Giuseppe Scrivano <gscrivan@redhat.com> | 2017-06-13 17:23:42 +0200 |
commit | d4a8eb3b492a7af2dc48996792ecf95556b615cc (patch) | |
tree | 81578cd154ab78242cf868d7652514d74059b5dd /images/installer/system-container | |
parent | e768cf9420b967527d0e7b2323aedc131c9a27a6 (diff) | |
download | openshift-d4a8eb3b492a7af2dc48996792ecf95556b615cc.tar.gz openshift-d4a8eb3b492a7af2dc48996792ecf95556b615cc.tar.bz2 openshift-d4a8eb3b492a7af2dc48996792ecf95556b615cc.tar.xz openshift-d4a8eb3b492a7af2dc48996792ecf95556b615cc.zip |
installer: add bind mount for /etc/resolv.conf
Use the DNS configuration from the host.
Closes: https://bugzilla.redhat.com/show_bug.cgi?id=1460978
Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
Diffstat (limited to 'images/installer/system-container')
-rw-r--r-- | images/installer/system-container/root/exports/config.json.template | 10 |
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", |