mirror of
https://gitlab.alpinelinux.org/alpine/cloud/tiny-cloud.git
synced 2025-12-16 11:52: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
|
[ "$mounted" ] && break
|
||||||
for label in cidata CIDATA; do
|
for label in cidata CIDATA; do
|
||||||
[ -n "$mounted" ] && break
|
[ -n "$mounted" ] && break
|
||||||
mount -t "$fstype" LABEL="$label" "$mntdir" && mounted=1
|
mount -o ro -t "$fstype" LABEL="$label" "$mntdir" && mounted=1
|
||||||
done
|
done
|
||||||
done
|
done
|
||||||
if [ -n "$mounted" ]; then
|
if [ -n "$mounted" ]; then
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user