From 6b44b6d27418fa613aec0c67e9bae723c9e88c3b Mon Sep 17 00:00:00 2001 From: Clint Byrum Date: Fri, 10 May 2013 00:05:56 -0700 Subject: [PATCH] Fix fedora fstab so / is mounted rw properly. Change-Id: I8001b3fdb3fecb70cda388450222c60a2bd0a58b --- elements/vm/finalise.d/51-grub | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elements/vm/finalise.d/51-grub b/elements/vm/finalise.d/51-grub index b1ca7b16f..b394db0dd 100755 --- a/elements/vm/finalise.d/51-grub +++ b/elements/vm/finalise.d/51-grub @@ -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