Re: Network interface configuration and systemd's predictable network interface names
686f6c6d <[email protected]>
| Newsgroups | gmane.linux.suse.autoinstall |
|---|---|
| Message-ID | <CAMEHyeEb2-r_3UnA6LGU8Yjj-aq5LEtCSEh8QxSoj=74E8ybUw@mail.gmail.com> |
On 01/24/2014 05:57 AM, David Huffman wrote:
> Hi, thanks to systemd's predictable network interface names (http://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames), I have no way to tell what my eth0 interface is actually going to be called ahead of time as it varies amongst different computers. Is there anyway to affect all available network interfaces with autoyast?
Even if you could predict the name in the first stage, it might change
in the second. I've been meaning to create a ticket on that since
November but haven't gotten to it yet.
In 12.3 and 13.1 we at my company have seen very different behaviour
even across different models of the same machine vendor (I will
include a matrix in the ticket). The interface names (on most of our
hardware) change their name in stage2, even when disabling Dells CNDN
on the cmdline ("biosdevname=0", since oS 12.3 or so) xor systemds
PNIN ("net.ifnames=0", since oS 13.1). We run a lot of script from the
network in s2, so if the network fails there, the install fails.
(Fun fact: We never got PNIN to work on *any* of our machines because
during s2, the interface first gets its old ethN name and is renamed
during boot. AutoYAST doesn't seem to be handle that at all. That is
even worse than the behavior we had in 12.3, where at least AutoYAST
and the os where in agreement about what the name was in s2 *if* it
changed its name.)
The only way we got the install go finish successfully with a working
network config was to disable *both* CNDN and PNIN by appending
"biosdevname=0 net.ifnames=0" to every installation. Of course, then
you're stuck with the old interface names (but IMAO the whole naming
issue only exists in the world of clueless-user-administered computers
anyway, so we're fine with that).
--
End of rant
Christopher 'm4z' Holm / 686f6c6d
"We must respect the other fellow's religion, but only in the sense
and to the extent that we respect his theory that his wife is
beautiful and his children smart." --H. L. Mencken
--
To unsubscribe, e-mail: [email protected]
To contact the owner, e-mail: [email protected]