rkt: Refactor host file mounts for host network.

Do not mount /etc/hosts/ /etc/resolv.conf if they are already mounted.
This commit is contained in:
Yifan Gu
2016-09-06 12:20:58 -07:00
parent 9dfe8df7cd
commit 25786aca98
2 changed files with 38 additions and 17 deletions

View File

@@ -6,6 +6,9 @@ metadata:
labels:
name: nginx
spec:
initcontainers:
name: busybox
image: busybox
containers:
- name: nginx
image: nginx