diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2016-09-17 08:12:34 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2016-09-17 08:12:34 -0300 |
commit | 1bd3c4f1c2ba89f0b41ed57bc9f46cdf8134509c (patch) | |
tree | cf0b898c1870c2a94f6e31ea38d01aeab8ba3e96 /share | |
parent | 202a4250fc6c4910fc7096ca9993aecaa87a3db9 (diff) | |
download | hydra-1bd3c4f1c2ba89f0b41ed57bc9f46cdf8134509c.tar.gz hydra-1bd3c4f1c2ba89f0b41ed57bc9f46cdf8134509c.tar.bz2 |
Provision: fix grub menu entry
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/provision | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index b3f6ba9..e56000d 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -435,6 +435,9 @@ if [ "$grub" == "y" ]; then echo 'GRUB_PRELOAD_MODULES="lvm cryptodisk mdraid1x"' | $SUDO tee -a $WORK/etc/default/grub > /dev/null hydra_sudo_run chroot $WORK/ update-grub hydra_sudo_run chroot $WORK/ grub-install --recheck --force $device + + # Fix menu entry + hydra_sudo_run sed -i -e "s|root=/dev/mapper/provision-root|root=/dev/mapper/root|" $WORK/boot/grub/grub.cfg fi fi |