From 9974bdfecff6d60c865113702605b0562a1ce33e Mon Sep 17 00:00:00 2001 From: Stephen Soltesz Date: Fri, 24 May 2019 15:55:53 -0400 Subject: [PATCH] Use absolute path for actual cni bin files --- setup_stage3_coreos.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup_stage3_coreos.sh b/setup_stage3_coreos.sh index e02fff45..50a08d4f 100755 --- a/setup_stage3_coreos.sh +++ b/setup_stage3_coreos.sh @@ -67,7 +67,7 @@ pushd $IMAGEDIR # Make all the shims so that network plugins can be debugged. mkdir -p squashfs-root/shimcni/bin pushd squashfs-root/shimcni/bin - for i in *; do + for i in ${IMAGEDIR}/squashfs-root/cni/bin/*; do # NOTE: the target path does not exist at this moment, but that's the file # the symlink should reference in the final image filesystem. ln -s /usr/shimcni/bin/shim.sh $(basename "$i")