Fix for mounted readonly filesystem for Fedora 19

Change-Id: Ie168618924116f88ef4ec46f59e79818239b4c70
Fixes: bug #1201774
This commit is contained in:
Ivan Berezovskiy 2013-07-16 15:47:58 +04:00
parent 5d84c9ea46
commit 894134fd30

View File

@ -100,4 +100,7 @@ sed -i "s%root=UUID=[A-Za-z0-9\-]*%root=LABEL=cloudimg-rootfs%" $GRUB_CFG
if [ $DIST = 'Fedora' ] ; then
# enable serial console
sed -i "s%LABEL=cloudimg-rootfs%LABEL=cloudimg-rootfs console=tty0 console=ttyS0,115200%" $GRUB_CFG
if [ $(lsb_release -rs) = '19' ]; then
sed -i "s%UUID=[A-Za-z0-9\-]*%LABEL=cloudimg-rootfs%" /etc/fstab
fi
fi