Skip to content

Commit 9f6adbd

Browse files
authored
Add a oneshot DHCP call when hook starts (#85)
## Description Adds a oneshot DHCP call when hook starts ## Why is this needed This ensures that networking configuration exists BEFORE services start. <!--- Link to issue you have raised --> Fixes: # ## How Has This Been Tested? <!--- Please describe in detail how you tested your changes. --> <!--- Include details of your testing environment, and the tests you ran to --> <!--- see how your change affects other areas of the code, etc. --> ## How are existing users impacted? What migration steps/scripts do we need? <!--- Fixes a bug, unblocks installation, removes a component of the stack etc --> <!--- Requires a DB migration script, etc. --> ## Checklist: I have: - [ ] updated the documentation and/or roadmap (if required) - [ ] added unit or e2e tests - [ ] provided instructions on how to upgrade
2 parents da36c9e + d37fee0 commit 9f6adbd

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

hook_debug.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,9 @@ onboot:
1111
image: linuxkit/sysctl:v0.8
1212
- name: sysfs
1313
image: linuxkit/sysfs:v0.8
14+
- name: dhcpcd
15+
image: linuxkit/dhcpcd:v0.8
16+
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
1417
services:
1518
- name: getty
1619
image: linuxkit/getty:v0.8

0 commit comments

Comments
 (0)