1
0
mirror of https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git synced 2025-12-15 11:22:43 +03:00

* mount nocloud volume readonly

This commit is contained in:
Jake Buchholz Göktürk 2022-07-17 21:43:42 -07:00
parent 32fe9e5488
commit 1db5102fad

View File

@ -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