From 7ce876f784b552e4970ef91b542f09e6ca9cd12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Emmanuel=20Fr=C3=A9con?= Date: Fri, 5 Apr 2024 23:27:47 +0200 Subject: [PATCH] Enforce mount options for podman --- lib/microvm.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/microvm.sh b/lib/microvm.sh index 34a9470..30f23fe 100644 --- a/lib/microvm.sh +++ b/lib/microvm.sh @@ -155,13 +155,14 @@ microvm_run() { if [ -n "$KRUNVM_RUNNER_VOLS" ]; then while IFS= read -r mount || [ -n "$mount" ]; do if [ -n "$mount" ]; then - set -- --volume "$mount" "$@" + set -- --volume "${mount}:Z,rw" "$@" fi done <