Fix fedora fstab so / is mounted rw properly.
Change-Id: I8001b3fdb3fecb70cda388450222c60a2bd0a58b
This commit is contained in:
parent
2536d3f28d
commit
6b44b6d274
@ -51,4 +51,5 @@ fi
|
||||
sed -i "s%$PART_DEV%LABEL=cloudimg-rootfs%" $GRUB_CFG
|
||||
sed -i "s%search --no-floppy --fs-uuid --set=root .*$%search --no-floppy --set=root --label cloudimg-rootfs%" $GRUB_CFG
|
||||
sed -i "s%root=UUID=[A-Za-z0-9\-]*%root=LABEL=cloudimg-rootfs%" $GRUB_CFG
|
||||
|
||||
# Fedora sets up for root to have a label of "_/"
|
||||
sed -i "s%LABEL=_/%LABEL=cloudimg-rootfs%" /etc/fstab
|
||||
|
Loading…
Reference in New Issue
Block a user