We use the old eth naming on el7. Why? We have enough tech to juggle with and its just one thing less. It also makes our el7 systems look the same as el5 and el6 ones. When I say el, we also have centos/rhel and oracle Linux in the mix. Not to mention 2 Ubuntu releases and then lots of different builds.

Thus I haven't tried el7 with new naming; could give it a test tomorrow if not too busy.

Thinking about it I think I prefer eth naming; its more predictable and easier to code for (in cheetha).

--
Alastair Munro

-----Original Message-----
From: "Ed - 0x1b, Inc." <cobblerlist@0x1b.com>
To: cobbler mailing list <cobbler@lists.fedorahosted.org>
Sent: Sun, 06 Sep 2015 22:10
Subject: Re: [cobbler] CentOS 7 install failure

It isn't just RH - openSUSE Fedora have named networks this way
(deterministic) for several versions. Also, a network without a
gateway is a valid configuration as a level of security so Cobble
should be able to handle such a configuration.

Multi-homed servers using the old ethX syntax are not deterministic
regarding naming, the names can change depending on which nic wakes up
first. If you do any binding, or really anything with more than one
nic you risk the names in your configuration getting shuffled with
each boot. I think it is a two stage process, first the ethX naming
occurs as the nic wakes up and then udev renames them according to
biosdevname if possible:
Some of the detail are here, but dated from 2010 -
https://fedoraproject.org/wiki/Features/ConsistentNetworkDeviceNaming
or not...
http://lists.freedesktop.org/archives/systemd-devel/2015-March/028904.html
it's complicated as of systemd 197:
https://wiki.freedesktop.org/www/Software/systemd/PredictableNetworkInterfaceNames/

Ed

On Fri, Sep 4, 2015 at 7:00 PM, Alvin Starr <alvin@netvel.net> wrote:
> I also had troubles  trying to use the enp0s0 type names.
>
> I have a feeling that cobbler needs some work with way RH does device
> naming now.
>
>
> On 09/04/2015 05:59 PM, alastair@alastair-munro.com wrote:
>> Try defaulting back to the old eth names? Google it. New way is that
>> ether names are enumerated (en, em, etc).
>>
>> On 2015-09-04 21:07, Xeniya Lisovskaya wrote:
>>> Anybody fix this problem? I have Centos7, static IP, and same problem:
>>>
>>> it is screenshots from IP-KVM:
>>>
>>> http://postimg.org/image/c2qsjwx7r/ [2]
>>>
>>> http://s9.postimg.org/rocxra9lr/cobbler2.png [3]
>>>
>>> 2014-10-08 0:54 GMT+03:00 Chris Johnson
>>> <rchristopherjohnson@gmail.com>:
>>>
>>>> On 10/6/14, 10:40 PM, Orion Poplawski wrote:
>>>> On 10/06/2014 08:29 PM, Chris Johnson wrote:
>>>> Ok, sorry about that. Here is a url for the getks
>>>>
>>>> http://pastebin.com/w1cq3TKX [1]
>>>
>>>  What gets written to /tmp/pre_install_network_config ?  I wonder if
>>> get_ifname is failing.  Sure you have the mac addr correct?
>>>
>>>  Ok /tmp/pre_install_network_config contains the following
>>>
>>>  network --device=enp0s3 --bootproto=static --ip=192.168.1.14
>>> --netmask=255.255.255.0 --nameserver=75.75.76.76
>>> --hostname=client4.net [4]
>>>
>>>  And we have the problem.  Thank you very much Orion.
>>>
>>>  There are two ways to give cobbler a gateway IP when doing cobbler
>>> system add; 1) --if-gateway, 2) --gateway.  The scripts I have for
>>> adding my systems to cobbler use the former which puts the gateway in
>>> the ifcfg-eth0 file rather than /etc/sysconfig/network which is what
>>> --gateway does.  From the above we see no gateway listed at all.  It
>>> seems that C7 install wants the --gateway parameter used instead.
>>> Obviously I missed this in the notes.
>>>
>>>  I would make the suggestion that when a required or used parameter is
>>> missing a value or has an invalid value, a warning message to that
>>> effect listing the name of the parameter would more helpful than
>>> illegal IP address string passed to inet_aton.
>>>
>>>  Thank you again.
>>>
>>>  Chris J
>>>
>>>  _______________________________________________
>>>  cobbler mailing list
>>>  cobbler@lists.fedorahosted.org
>>>  https://lists.fedorahosted.org/mailman/listinfo/cobbler [5]
>>>
>>> --
>>>
>>> Kseniya Lisovskaya
>>>
>>> Links:
>>> ------
>>> [1] http://pastebin.com/w1cq3TKX
>>> [2] http://postimg.org/image/c2qsjwx7r/
>>> [3] http://s9.postimg.org/rocxra9lr/cobbler2.png
>>> [4] http://client4.net
>>> [5] https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>>
>>> _______________________________________________
>>> cobbler mailing list
>>> cobbler@lists.fedorahosted.org
>>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>>
>> _______________________________________________
>> cobbler mailing list
>> cobbler@lists.fedorahosted.org
>> https://lists.fedorahosted.org/mailman/listinfo/cobbler
>
>
> --
> Alvin Starr                   ||   voice: (905)513-7688
> Netvel Inc.                   ||   Cell:  (416)806-0133
> alvin@netvel.net              ||
>
> _______________________________________________
> cobbler mailing list
> cobbler@lists.fedorahosted.org
> https://lists.fedorahosted.org/mailman/listinfo/cobbler
_______________________________________________
cobbler mailing list
cobbler@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/cobbler