소스 검색

Merge pull request #4432 from giuseppe/installer-dns

installer: add bind mount for /etc/resolv.conf
Scott Dodson 7 년 전
부모
커밋
d5a77cd315
1개의 변경된 파일10개의 추가작업 그리고 0개의 파일을 삭제
  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",