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:
parent
32fe9e5488
commit
1db5102fad
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user