grub, syslinux: remove parameter 'ip=dhcp' from rescue_remote.cfg

This parameter is used to configure the network in the initrd, but
we don't need it. startup-rescue 0.50 no longer requires this
parameter.
See https://bugzilla.altlinux.org/50526
This commit is contained in:
Anton Midyukov 2024-06-03 15:16:16 +07:00
parent 3ccc3ab751
commit 2463cc16b2
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
menuentry $"Rescue with remote SSH access (DHCP)" --id 'rescue_remote' {
savedefault
echo $"Loading Linux vmlinuz$KFLAVOUR ..."
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash @rescue_bootargs@ max_loop=16 ip=dhcp port=22 rootpw=AUTO hash=@rescue_hash@ lowmem
linux /boot/vmlinuz$KFLAVOUR fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash @rescue_bootargs@ max_loop=16 port=22 rootpw=AUTO hash=@rescue_hash@ lowmem
echo $"Loading initial ramdisk ..."
initrd /boot/@initrd@$KFLAVOUR.@initrd_ext@
}

View File

@ -1,4 +1,4 @@
label rescue_remote
menu label Rescue with remote SSH ^access (DHCP)
kernel /boot/vmlinuz
append initrd=/boot/@initrd@ fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash showopts @rescue_bootargs@ ip=dhcp port=22 rootpw=AUTO lowmem
append initrd=/boot/@initrd@ fastboot live @initrd_bootargs@ @stagename@=rescue ramdisk_size=@rescue_size@ nosplash showopts @rescue_bootargs@ port=22 rootpw=AUTO lowmem