From 1db5102fadf6c519b13660a3dfb06ca06eb6eb89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jake=20Buchholz=20G=C3=B6kt=C3=BCrk?= Date: Sun, 17 Jul 2022 21:43:42 -0700 Subject: [PATCH] * mount nocloud volume readonly --- lib/tiny-cloud/nocloud/imds | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/tiny-cloud/nocloud/imds b/lib/tiny-cloud/nocloud/imds index 9d7b7df..a841bb0 100644 --- a/lib/tiny-cloud/nocloud/imds +++ b/lib/tiny-cloud/nocloud/imds @@ -54,7 +54,7 @@ _load_nocloud_volume() { [ "$mounted" ] && break for label in cidata CIDATA; do [ -n "$mounted" ] && break - mount -t "$fstype" LABEL="$label" "$mntdir" && mounted=1 + mount -o ro -t "$fstype" LABEL="$label" "$mntdir" && mounted=1 done done if [ -n "$mounted" ]; then