From b4859f8a9ad95beeb23ec37dd99aef0b5bbf6de4 Mon Sep 17 00:00:00 2001 From: bin456789 Date: Sun, 7 Jul 2024 17:07:19 +0800 Subject: [PATCH] =?UTF-8?q?el:=20=E5=88=A0=E9=99=A4=E8=AF=AF=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=9A=84=20UUID=20cmdline?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- trans.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/trans.sh b/trans.sh index 8244c9b..8048f0d 100644 --- a/trans.sh +++ b/trans.sh @@ -2313,7 +2313,6 @@ EOF yum install grubby fi chroot /os grubby --update-kernel ALL --remove-args "resume rd.lvm.lv" - chroot /os grubby --update-kernel ALL --args UUID=$os_part_uuid if [ "$releasever" -eq 7 ]; then # el7 上面那条 grubby 命令不能设置 /etc/default/grub sed -i 's/ rd.lvm.lv=[^ "]*//g' /os/etc/default/grub