Browse Source

Merge pull request #4432 from giuseppe/installer-dns

installer: add bind mount for /etc/resolv.conf
Scott Dodson 7 years ago
parent
commit
d5a77cd315
1 changed files with 10 additions and 0 deletions
  1. 10 0
      images/installer/system-container/root/exports/config.json.template

+ 10 - 0
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",