Skip to content

Commit c9d4ddc

Browse files
committed
Remove duplicate sed from centos81.ks
1 parent 9edd028 commit c9d4ddc

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

ks/azure/centos81.ks

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -179,7 +179,6 @@ majorVersion=$(rpm -E %{rhel})
179179
[ "$majorVersion" = "8" ] && {
180180
EFI_ID=`blkid --match-tag UUID --output value /dev/sda15`
181181
BOOT_ID=`blkid --match-tag UUID --output value /dev/sda1`
182-
sed -i 's|${config_directory}/grubenv|(hd0,gpt15)/efi/centos/grubenv|' /boot/grub2/grub.cfg
183182
}
184183
sed -i 's/gpt15/gpt1/' /boot/grub2/grub.cfg
185184
sed -i "s/${EFI_ID}/${BOOT_ID}/" /boot/grub2/grub.cfg

0 commit comments

Comments
 (0)