mirror of
https://github.com/bin456789/reinstall.git
synced 2025-01-18 20:39:14 +08:00
el: 删除误添加的 UUID cmdline
This commit is contained in:
parent
96d7b56f9f
commit
b4859f8a9a
1
trans.sh
1
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user