File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change 23
23
- -c
24
24
- chroot /root/ modprobe vcan || { chroot /root/ apt-get install -y linux-modules-extra-$(uname -r) && chroot /root/ modprobe vcan; } && echo Succesfully installed and loaded the vcan kernel module;
25
25
chroot /root/ mknod /var/run/k8s-socketcan/fakedev b 1 1 && echo Succesfully created the /var/run/k8s-socketcan/fakedev device;
26
- for path in /var/run/containerd/containerd.sock /var/snap/microk8s/common/run/containerd.sock /run/k3s/containerd/containerd.sock; do [ -S /root/$path ] && ln -sfn $sock /root/ var/run/k8s-socketcan/containerd.sock && echo "Found containerd socket in $path" && break; done
26
+ for path in /var/run/containerd/containerd.sock /var/snap/microk8s/common/run/containerd.sock /run/k3s/containerd/containerd.sock; do [ -S /root/$path ] && chroot /root/ ln -fn $path / var/run/k8s-socketcan/containerd.sock && echo "Found containerd socket in $path" && break; done;
27
27
securityContext :
28
28
privileged : true
29
29
capabilities :
You can’t perform that action at this time.
0 commit comments