Skip to content

Commit

Permalink
yaml: Use the correct task name in aliases
Browse files Browse the repository at this point in the history
I did not notice that the docker being referenced here before was for the docker service that was renamed hook-docker. This went by unnoticed since I was booting old versions of hook that did not have the local.sh file embedded. I finally figured out I had broken the aliases when I renamed the server after actually booting the hook images I built.

Signed-off-by: Manuel Mendez <github@i.m.mmlb.dev>
  • Loading branch information
mmlb committed Jun 14, 2022
1 parent 1b42f6c commit a3b5389
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions hook.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ services:
files:
- path: etc/profile.d/local.sh
contents: |
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id cmd docker docker'
alias docker-shell='ctr -n services.linuxkit tasks exec --tty --exec-id shell docker sh'
alias docker='ctr -n services.linuxkit tasks exec --tty --exec-id cmd hook-docker docker'
alias docker-shell='ctr -n services.linuxkit tasks exec --tty --exec-id shell hook-docker sh'
mode: "0644"

#dbg - path: root/.ssh/authorized_keys
Expand Down

0 comments on commit a3b5389

Please sign in to comment.