diff options
Diffstat (limited to 'share/hydractl/provision')
-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 |