Skip to content

Commit 6859eb9

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

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
@@ -66,7 +66,7 @@ cp /assets/containerd-shim-spin-v2 $NODE_ROOT$KWASM_DIR/bin/
6666
# A bug in containerd makes BinaryName not work with shim not in PATH
6767
# https://github.com/containerd/containerd/issues/11480
6868
mkdir -p $NODE_ROOT/usr/local/bin/
69-
ln -s $NODE_ROOT$KWASM_DIR/bin/containerd-shim-spin-v2 $NODE_ROOT/usr/local/bin/containerd-shim-spin
69+
ln -s $KWASM_DIR/bin/containerd-shim-spin-v2 $NODE_ROOT/usr/local/bin/containerd-shim-spin
7070

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

0 commit comments

Comments
 (0)