mirror of
https://pagure.io/fedora-kickstarts.git
synced 2024-12-22 13:45:39 +00:00
Fall back to mounting /dev/live as rw
If we're using the live image for a persistent overlay, we can't mount it ro, so just try to mount it rw if the ro mount fails
This commit is contained in:
parent
60b147e10d
commit
3cb271878a
@ -113,7 +113,7 @@ touch /.liveimg-configured
|
||||
# mount live image
|
||||
if [ -b \`readlink -f /dev/live\` ]; then
|
||||
mkdir -p /mnt/live
|
||||
mount -o ro /dev/live /mnt/live
|
||||
mount -o ro /dev/live /mnt/live 2>/dev/null || mount /dev/live /mnt/live
|
||||
fi
|
||||
|
||||
# enable swaps unless requested otherwise
|
||||
|
Loading…
Reference in New Issue
Block a user