Skip to content

Commit

Permalink
Hackily clean cs-mount
Browse files Browse the repository at this point in the history
  • Loading branch information
chaen committed Oct 18, 2023
1 parent 41e3d8a commit 4f6ae4d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,9 @@ if [ ${#pkg_dirs[@]} -gt 0 ]; then
done
fi
# Add the mount for the CS
# hack to cleanup the cs-mount content owned by somebody else
# (long term solution is proper security policy in the cluster)
docker run -v "${demo_dir}/cs-mount":/cs-mount busybox:latest rm -rf /cs-mount/initialRepo
rm -rf "${demo_dir}/cs-mount"
mkdir -p "${demo_dir}/cs-mount"
# Make sure the directory is writable by the container
Expand Down

0 comments on commit 4f6ae4d

Please sign in to comment.