Skip to content

Commit

Permalink
Use absolute path for actual cni bin files
Browse files Browse the repository at this point in the history
  • Loading branch information
stephen-soltesz committed May 24, 2019
1 parent 7670365 commit 9974bdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion setup_stage3_coreos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down

0 comments on commit 9974bdf

Please sign in to comment.