Skip to content

Commit 0d7dd1d

Browse files
committed
node-installer: fix symbolic link to path containing $NODE_ROOT
Signed-off-by: Shiroki Satsuki <[email protected]>
1 parent 5cf63f2 commit 0d7dd1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

node-installer/script/installer.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ cp /assets/containerd-shim-spin-v2 $NODE_ROOT$KWASM_DIR/bin/
3737
# A bug in containerd makes BinaryName not work with shim not in PATH
3838
# https://github.com/containerd/containerd/issues/11480
3939
mkdir -p $NODE_ROOT/usr/local/bin/
40-
ln -s $NODE_ROOT$KWASM_DIR/bin/containerd-shim-spin-v2 $NODE_ROOT/usr/local/bin/containerd-shim-spin
40+
ln -s $KWASM_DIR/bin/containerd-shim-spin-v2 $NODE_ROOT/usr/local/bin/containerd-shim-spin
4141

4242
# K3S and RKE2 can detect spin shim themselves, no need to configure
4343
# https://github.com/k3s-io/k3s/pull/9519

0 commit comments

Comments
 (0)