Merge pull request #3078 from justincormack/dhcp-hook-fix

Fix dhcpcd hooks config
This commit is contained in:
Rolf Neugebauer 2018-06-29 19:02:24 +01:00 committed by GitHub
commit 9dac66b831
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
41 changed files with 43 additions and 41 deletions

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:ae402c118338c0285625c0094525eb0a90085a58

View File

@ -13,7 +13,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: sshd
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
files:

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: sysfs
image: linuxkit/sysfs:v0.4

View File

@ -44,7 +44,7 @@ onboot:
- /var:/host_var
command: ["sh", "-c", "mv -v /host_var/log /host_var/lib && ln -vs /var/lib/log /host_var/log"]
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
# Enable acpi to shutdown on power events

View File

@ -24,7 +24,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: ntpd
image: linuxkit/openntpd:v0.4
- name: docker

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:ae402c118338c0285625c0094525eb0a90085a58

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
onshutdown:
- name: shutdown

View File

@ -8,7 +8,7 @@ init:
- linuxkit/ca-certificates:v0.4
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -7,7 +7,7 @@ init:
- linuxkit/containerd:27a4c84cc8fab2d5ea04342546ecd20453ec99b3
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -13,7 +13,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: node_exporter
image: linuxkit/node_exporter:v0.4
trust:

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:ae402c118338c0285625c0094525eb0a90085a58

View File

@ -15,7 +15,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:ae402c118338c0285625c0094525eb0a90085a58

View File

@ -9,7 +9,7 @@ init:
- linuxkit/containerd:27a4c84cc8fab2d5ea04342546ecd20453ec99b3
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -17,7 +17,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: open-vm-tools
image: linuxkit/open-vm-tools:v0.4
- name: nginx

View File

@ -13,7 +13,7 @@ onboot:
image: linuxkit/rngd:v0.4
command: ["/sbin/rngd", "-1"]
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:ae402c118338c0285625c0094525eb0a90085a58

View File

@ -20,7 +20,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: sshd
image: linuxkit/sshd:2c7e6e36bd0ffa2b3d950cf9128da89ba3375dbb
files:

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:v0.4

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -17,7 +17,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: nginx
image: nginx:1.13.8-alpine
capabilities:

View File

@ -7,7 +7,7 @@ init:
- linuxkit/containerd:27a4c84cc8fab2d5ea04342546ecd20453ec99b3
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: mount-vpnkit
image: alpine:3.7

View File

@ -7,7 +7,7 @@ init:
- linuxkit/containerd:27a4c84cc8fab2d5ea04342546ecd20453ec99b3
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: vsudd

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: metadata
image: linuxkit/metadata:ae402c118338c0285625c0094525eb0a90085a58

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: wg0
image: linuxkit/ip:v0.4

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
onshutdown:
- name: shutdown

View File

@ -14,5 +14,7 @@ ENTRYPOINT []
CMD []
WORKDIR /
COPY --from=mirror /out/ /
COPY /dhcpcd.conf /usr/ /
# put the config file in / because we bind mount /etc to handle resolv.conf symlinks
COPY /dhcpcd.conf /
COPY /usr/ /usr/
CMD ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf"]

View File

@ -12,7 +12,7 @@ onboot:
- name: sysfs
image: linuxkit/sysfs:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:v0.4

View File

@ -12,7 +12,7 @@ onboot:
- name: sysfs
image: linuxkit/sysfs:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: format
image: linuxkit/format:v0.4

View File

@ -11,7 +11,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: rngd

View File

@ -11,7 +11,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: rngd

View File

@ -7,7 +7,7 @@ init:
- linuxkit/containerd:27a4c84cc8fab2d5ea04342546ecd20453ec99b3
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -18,7 +18,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
files:
- path: etc/init.d/020-fdd-init
mode: "0700"

View File

@ -11,7 +11,7 @@ onboot:
image: linuxkit/sysctl:v0.4
services:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: getty
image: linuxkit/getty:44730fd0a7c59dbacf5b48b54ba33f551bcf7ef0
env:

View File

@ -10,7 +10,7 @@ onboot:
- name: sysctl
image: linuxkit/sysctl:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -6,7 +6,7 @@ init:
- linuxkit/runc:v0.4
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
trust:
org:

View File

@ -20,7 +20,7 @@ services:
- name: rngd
image: linuxkit/rngd:v0.4
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
- name: docker
image: docker:17.07.0-ce-dind
capabilities:

View File

@ -8,7 +8,7 @@ init:
- linuxkit/ca-certificates:v0.4
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: sysctl
image: linuxkit/sysctl:v0.4

View File

@ -6,7 +6,7 @@ init:
- linuxkit/runc:v0.4
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: test
image: alpine:3.7

View File

@ -8,7 +8,7 @@ init:
- linuxkit/ca-certificates:v0.4
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
services:
- name: getty

View File

@ -8,7 +8,7 @@ init:
- linuxkit/ca-certificates:v0.4
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: wg0
image: linuxkit/ip:v0.4

View File

@ -9,7 +9,7 @@ init:
- linuxkit/containerd:27a4c84cc8fab2d5ea04342546ecd20453ec99b3
onboot:
- name: dhcpcd
image: linuxkit/dhcpcd:v0.4
image: linuxkit/dhcpcd:1fe0db6b1eb7bcb1e4823e61e08afe6d48af7d16
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
- name: check-kernel-config
image: linuxkit/test-kernel-config:a62a6a7ed9ad857c3e1a5a265f3a2e9f6ab1d643