diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-07-21 16:26:53 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-07-21 16:26:53 -0300 |
commit | be80dee110372c73f712dc22724f68c893760fc5 (patch) | |
tree | 1936ec88441dd827c372b5e03171e64e154a8f08 /share | |
parent | 932ffe9e41fd3c0d2369f6addf860dafdd0b8ee1 (diff) | |
download | hydra-be80dee110372c73f712dc22724f68c893760fc5.tar.gz hydra-be80dee110372c73f712dc22724f68c893760fc5.tar.bz2 |
Provision: another grub.cfg replacement
Diffstat (limited to 'share')
-rwxr-xr-x | share/hydractl/provision | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/share/hydractl/provision b/share/hydractl/provision index 8d20df5..8cf112e 100755 --- a/share/hydractl/provision +++ b/share/hydractl/provision @@ -479,7 +479,8 @@ if [ "$grub" == "y" ]; then 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|g" $WORK/boot/grub/grub.cfg + hydra_sudo_run sed -i -e "s|root=/dev/mapper/provision-root|root=/dev/mapper/root|g" $WORK/boot/grub/grub.cfg + hydra_sudo_run sed -i -e "s|root=/dev/mapper/$hostname-unlocked|root=/dev/mapper/root|g" $WORK/boot/grub/grub.cfg fi fi |