[opensuse] dracut adds ifname=enp65s1:ma:ca:dd:re:ss ip=enp65s1:static ?
Over the weekend I've been playing with a new box, trying to make it boot over nfs. Not many hairs left on my head. After a lot of trial&error with both openSUSE Leap42 and 13.2, I finally(!) noticed what dracut adds as default cmdline arguments - ifname=enp65s1:ma:ca:dd:re:ss ip=enp65s1:static The first bit is probably okay, but the second is certain not, when I use DHCP. Okay, I just override it "ip=dhcp" in the bootloader, but surely this is new behaviour? None of my other systems need ip=dhcp. -- Per Jessen, Zürich (-3.4°C) http://www.hostsuisse.com/ - dedicated server rental in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
18.01.2016 15:59, Per Jessen пишет:
Over the weekend I've been playing with a new box, trying to make it boot over nfs. Not many hairs left on my head.
After a lot of trial&error with both openSUSE Leap42 and 13.2, I finally(!) noticed what dracut adds as default cmdline arguments -
ifname=enp65s1:ma:ca:dd:re:ss ip=enp65s1:static
The first bit is probably okay, but the second is certain not, when I use DHCP. Okay, I just override it "ip=dhcp" in the bootloader, but surely this is new behaviour?
The change was submitted upstream by Thomas Renninger, so I suggest you open bug report and assign it to trenn. commit 206345ce9b5eda660d82ce552620edc12db4b2e3 Author: Thomas Renninger <trenn@suse.de> Date: Thu Dec 11 15:46:18 2014 +0100 nfs: Add ip=... and root=nfs... parameters to internal dracut cmdline If the rootfs is an nfs mount, also know as nfsroot, add the correct parameter to the dracut cmdline. Signed-off-by: Thomas Renninger <trenn@suse.de> -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Andrei Borzenkov wrote:
18.01.2016 15:59, Per Jessen пишет:
Over the weekend I've been playing with a new box, trying to make it boot over nfs. Not many hairs left on my head.
After a lot of trial&error with both openSUSE Leap42 and 13.2, I finally(!) noticed what dracut adds as default cmdline arguments -
ifname=enp65s1:ma:ca:dd:re:ss ip=enp65s1:static
The first bit is probably okay, but the second is certain not, when I use DHCP. Okay, I just override it "ip=dhcp" in the bootloader, but surely this is new behaviour?
The change was submitted upstream by Thomas Renninger, so I suggest you open bug report and assign it to trenn.
Thanks for digging that out, Andrei. -- Per Jessen, Zürich (-7.1°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Per Jessen wrote:
Andrei Borzenkov wrote:
18.01.2016 15:59, Per Jessen пишет:
Over the weekend I've been playing with a new box, trying to make it boot over nfs. Not many hairs left on my head.
After a lot of trial&error with both openSUSE Leap42 and 13.2, I finally(!) noticed what dracut adds as default cmdline arguments -
ifname=enp65s1:ma:ca:dd:re:ss ip=enp65s1:static
The first bit is probably okay, but the second is certain not, when I use DHCP. Okay, I just override it "ip=dhcp" in the bootloader, but surely this is new behaviour?
The change was submitted upstream by Thomas Renninger, so I suggest you open bug report and assign it to trenn.
Thanks for digging that out, Andrei.
Just in case someone finds this later - the dracut config mentioned is most probably correct. "ip=enp65s1:static" does not mean "use a static network config", it means "use the stored config for this interface", i.e. /etc/sysconfig/network/ifcfg-enp65s1. However, I'm installing xen, and somehow the installation has decided to automatically create a br0 device, and also amend ifcfg-enp65s1 to say "bootproto=none". This is correct for a bridged xen network setup, but it won't work when dracut wants to use enp65s1. I'm not sure who is to blame here, sofar I've assigned the report to the xen maintainr. https://bugzilla.opensuse.org/show_bug.cgi?id=962492 -- Per Jessen, Zürich (-0.4°C) http://www.hostsuisse.com/ - virtual servers, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Andrei Borzenkov
-
Per Jessen