Fix fedora fstab so / is mounted rw properly.

Change-Id: I8001b3fdb3fecb70cda388450222c60a2bd0a58b
This commit is contained in:
Clint Byrum 2013-05-10 00:05:56 -07:00
parent 2536d3f28d
commit 6b44b6d274
1 changed files with 2 additions and 1 deletions

View File

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