Bugzilla – Bug 1221356
UEFI Installation Parameter ifcfg/netsetup with static ip ignored for network interface
Last modified: 2024-04-02 15:07:19 UTC
I try to install openSUSE with Autoyast on an machine using UEFI as a Firmware. When I define the variables defined like here, it seems to be not working properly: https://doc.opensuse.org/documentation/leap/startup/html/book-startup/cha-boot-parameters.html I tried to define as following: 1. ifcfg=eth0=192.168.200.100/24,192.168.200.1 autoyast=http://192.168.200.50/autoyast.xml 2. netsetup=hostip hostip=192.168.200.100/24 autoyast=http://192.168.200.50/autoyast.xml Both trials are not working the network interface seems to be not configured and also not reading the autoyast file. I saw on the documentation also the hint to use ifcfg because that seems to be rather forcing linuxrc to connect the network adapter. I'm right with that or is there another way to go. Thank you. Cheers, Chris
What medium are you booting from? What is the complete boot command line? Do you have a HTTP server running at that address that you instruct it to fetch that autoyast.xml from? Did you ask in the forums first before you filed this bug report? There are a lot of knowledgeable people there. See also https://doc.opensuse.org/documentation/leap/autoyast/html/book-autoyast/Invoking.html#
Thank you for coming to that case. The boot media is the openSuSE DVD ISO file: openSUSE-Leap-15.5-DVD-x86_64-Build491.1-Media.iso. The full boot command was the following setparams 'Installation' ifcfg=eth0=192.168.200.100/24,192.168.200.1 autoyast=http://192.168.200.50/autoyast.xml set gfxpayload=keep echo 'Loading kernel ...' linux /boot/x86_64/loader/linux splash=silent echo 'Loading initial ramdisk ...' initrd /boot/x86_64/loader/initrd I also checked out the forums, I also used the following instructions: https://doc.opensuse.org/projects/autoyast/#ay-adv-network. Yes, I have a HTTP Server running especially in the same network subnet, to be sure that there are no firewall's in between, of course I tested from another client computer to be sure it's working. Thank you. Cheers, Chris
AFAICS for a static (non-DHCP) IP setup you need 'ifcfg' in this form: ifcfg=$IF_NAME=hostip,gateway,nameserver,domain See also https://en.opensuse.org/SDB:Linuxrc#Using_ifcfg You specified only two IPs, i.e. only the host-ip and the gateway, but no nameserver and no domain. I am not sure if that is sufficient. @snwint? ^^^^^^^^^^^^^^^^^^^^
See also https://doc.opensuse.org/projects/autoyast/#ay-adv-network
These are boot options. If you edit grub.cfg, you have to append them to the 'linux' line: linux /boot/x86_64/loader/linux splash=silent ifcfg=eth0=... autoyast=http... Your variant 1 is ok.
Duh; I overlooked the part that they were not added to the kernel parameters. Please try that; I am sure then it will be successful.