Skip to content

Commit

Permalink
Merge pull request #62 from micahhausler/linuxkit-config
Browse files Browse the repository at this point in the history
Fixed missing mounts in dhcpcd and ntpd
  • Loading branch information
thebsdbox authored Jul 30, 2021
2 parents 086ac16 + 3ec1916 commit c782829
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ onboot:
image: linuxkit/sysfs:v0.8
- name: dhcpcd
image: linuxkit/dhcpcd:v0.8
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /run:/run
- /var/lib/dhcpcd:/var/lib/dhcpcd
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty
Expand All @@ -23,8 +27,14 @@ services:
image: linuxkit/rngd:v0.8
- name: dhcpcd
image: linuxkit/dhcpcd:v0.8
binds:
- /etc/resolv.conf:/etc/resolv.conf
- /run:/run
- /var/lib/dhcpcd:/var/lib/dhcpcd
- name: ntpd
image: linuxkit/openntpd:v0.8
binds:
- /var/run:/var/run
- name: docker
image: quay.io/tinkerbell/hook-docker:0.0
capabilities:
Expand Down

0 comments on commit c782829

Please sign in to comment.