From be815b535b6129f27f063120d4fea88c7ec0a34b Mon Sep 17 00:00:00 2001 From: Suikan <26223147+suikan4github@users.noreply.github.com> Date: Tue, 29 Jun 2021 21:42:03 +0900 Subject: [PATCH] fix the problem of variable name --- voidlinux/1-pre-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voidlinux/1-pre-install.sh b/voidlinux/1-pre-install.sh index f16efe8..8233909 100644 --- a/voidlinux/1-pre-install.sh +++ b/voidlinux/1-pre-install.sh @@ -215,7 +215,7 @@ fi # if the root volun already exist # This is magical part. I have not understood why this is required. # Refer https://wiki.voidlinux.org/Install_LVM_LUKS#Installation_using_void-installer echo "...Modify /etc/default/grub." -sed -i "s#loglevel=4#loglevel=4 rd.auto=1 cryptdevice=/dev/sda2:${LUKS_NAME} root=/dev/mapper/${VGNAME}-${ROOTNAME}#" /etc/default/grub +sed -i "s#loglevel=4#loglevel=4 rd.auto=1 cryptdevice=/dev/sda2:${LUKS_NAME} root=/dev/mapper/${VGNAME}-${LVROOTNAME}#" /etc/default/grub # Finishing message if [ ${ISEFI} -eq 1 ] ; then