Skip to content

Commit c782829

Browse files
authored
Merge pull request #62 from micahhausler/linuxkit-config
Fixed missing mounts in dhcpcd and ntpd
2 parents 086ac16 + 3ec1916 commit c782829

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

hook.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ onboot:
1313
image: linuxkit/sysfs:v0.8
1414
- name: dhcpcd
1515
image: linuxkit/dhcpcd:v0.8
16+
binds:
17+
- /etc/resolv.conf:/etc/resolv.conf
18+
- /run:/run
19+
- /var/lib/dhcpcd:/var/lib/dhcpcd
1620
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
1721
services:
1822
- name: getty
@@ -23,8 +27,14 @@ services:
2327
image: linuxkit/rngd:v0.8
2428
- name: dhcpcd
2529
image: linuxkit/dhcpcd:v0.8
30+
binds:
31+
- /etc/resolv.conf:/etc/resolv.conf
32+
- /run:/run
33+
- /var/lib/dhcpcd:/var/lib/dhcpcd
2634
- name: ntpd
2735
image: linuxkit/openntpd:v0.8
36+
binds:
37+
- /var/run:/var/run
2838
- name: docker
2939
image: quay.io/tinkerbell/hook-docker:0.0
3040
capabilities:

0 commit comments

Comments
 (0)