Skip to content

Commit 8cf7462

Browse files
committed
Adds an alias to make debugging easier!
1 parent ad871d7 commit 8cf7462

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

hook.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,13 @@ services:
7474
files:
7575
- path: etc/docker/daemon.json
7676
contents: '{"debug": true}'
77+
- path: etc/profile.d/local.sh
78+
contents: |
79+
alias l='ls -lF'
80+
alias ll='l -a'
81+
alias ctr='ctr -n services.linuxkit'
82+
alias docker='ctr tasks exec --tty --exec-id shell docker docker'
83+
mode: "0644"
7784
trust:
7885
org:
7986
- linuxkit

hook_debug.yaml

Lines changed: 10 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
@@ -67,6 +70,13 @@ files:
6770
source: ~/.ssh/id_rsa.pub
6871
mode: "0600"
6972
optional: true
73+
- path: etc/profile.d/local.sh
74+
contents: |
75+
alias l='ls -lF'
76+
alias ll='l -a'
77+
alias ctr='ctr -n services.linuxkit'
78+
alias docker='ctr tasks exec --tty --exec-id shell docker docker'
79+
mode: "0644"
7080
trust:
7181
org:
7282
- linuxkit

0 commit comments

Comments
 (0)