Skip to content

Commit d37fee0

Browse files
authored
Merge branch 'main' into debug_dhcp
2 parents 27ff3d2 + da36c9e commit d37fee0

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

.github/workflows/ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
push: true
4141
tags: localhost:5000/tinkerbell/hook-docker:0.0
4242

43-
- uses: cachix/install-nix-action@v13
43+
- uses: cachix/install-nix-action@v14
4444
with:
4545
nix_path: nixpkgs=channel:nixos-unstable
4646

.github/workflows/push.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ jobs:
4040
push: true
4141
tags: quay.io/tinkerbell/hook-docker:0.0
4242

43-
- uses: cachix/install-nix-action@v13
43+
- uses: cachix/install-nix-action@v14
4444
with:
4545
nix_path: nixpkgs=channel:nixos-unstable
4646

hook.yaml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,10 +13,6 @@ 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
2016
command: ["/sbin/dhcpcd", "--nobackground", "-f", "/dhcpcd.conf", "-1"]
2117
services:
2218
- name: getty
@@ -27,10 +23,6 @@ services:
2723
image: linuxkit/rngd:v0.8
2824
- name: dhcpcd
2925
image: linuxkit/dhcpcd:v0.8
30-
binds:
31-
- /etc/resolv.conf:/etc/resolv.conf
32-
- /run:/run
33-
- /var/lib/dhcpcd:/var/lib/dhcpcd
3426
- name: ntpd
3527
image: linuxkit/openntpd:v0.8
3628
binds:
@@ -74,6 +66,10 @@ services:
7466
files:
7567
- path: etc/docker/daemon.json
7668
contents: '{"debug": true}'
69+
- path: etc/profile.d/local.sh
70+
contents: |
71+
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id shell docker docker'
72+
mode: "0644"
7773
trust:
7874
org:
7975
- linuxkit

hook_debug.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,10 @@ files:
7070
source: ~/.ssh/id_rsa.pub
7171
mode: "0600"
7272
optional: true
73+
- path: etc/profile.d/local.sh
74+
contents: |
75+
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id shell docker docker'
76+
mode: "0644"
7377
trust:
7478
org:
7579
- linuxkit

0 commit comments

Comments
 (0)