Hello
I have been struggling attempting to get cobbler to work with RHEL6. The problem is, RHEL 6.8 is coming up with the interface name as em1, but somehow, the kickstart snippet below end up assigning the interface the name eth0. I have temporarily commented the snippet as show below and was able to have a successful installation after that.
# Network information #$SNIPPET('network_config') network --onboot no --device em1 --bootproto dhcp --noipv6 network --onboot no --device em2 --bootproto dhcp --noipv6
Have anybody been able to get cobbler working with interface names like em1 or p3p1? My problem is, I have different hardware and therefore don't have flexibility of hard coding the interface name in the kickstart. Any pointer would be highly appreciated
Regard,
William
To stick to older device naming style we are passing 'biosdevname=0' kernel parameter.
On Tue, Sep 13, 2016 at 9:31 AM, William Muriithi < william.muriithi@gmail.com> wrote:
Hello
I have been struggling attempting to get cobbler to work with RHEL6. The problem is, RHEL 6.8 is coming up with the interface name as em1, but somehow, the kickstart snippet below end up assigning the interface the name eth0. I have temporarily commented the snippet as show below and was able to have a successful installation after that.
# Network information #$SNIPPET('network_config') network --onboot no --device em1 --bootproto dhcp --noipv6 network --onboot no --device em2 --bootproto dhcp --noipv6
Have anybody been able to get cobbler working with interface names like em1 or p3p1? My problem is, I have different hardware and therefore don't have flexibility of hard coding the interface name in the kickstart. Any pointer would be highly appreciated
Regard,
William _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
You can set this in cobbler setting also. Find the 'kernel_options:' in settings file and add param 'biosdevname: 0' Indent the parameter line properly.
On Tue, Sep 13, 2016 at 9:38 AM, Santosh Kumar Gupta santosh0705@gmail.com wrote:
To stick to older device naming style we are passing 'biosdevname=0' kernel parameter.
On Tue, Sep 13, 2016 at 9:31 AM, William Muriithi < william.muriithi@gmail.com> wrote:
Hello
I have been struggling attempting to get cobbler to work with RHEL6. The problem is, RHEL 6.8 is coming up with the interface name as em1, but somehow, the kickstart snippet below end up assigning the interface the name eth0. I have temporarily commented the snippet as show below and was able to have a successful installation after that.
# Network information #$SNIPPET('network_config') network --onboot no --device em1 --bootproto dhcp --noipv6 network --onboot no --device em2 --bootproto dhcp --noipv6
Have anybody been able to get cobbler working with interface names like em1 or p3p1? My problem is, I have different hardware and therefore don't have flexibility of hard coding the interface name in the kickstart. Any pointer would be highly appreciated
Regard,
William _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
.. and net.ifnames=0 ?
It certainly makes device naming consistent.
Santosh Kumar Gupta wrote:
To stick to older device naming style we are passing 'biosdevname=0' kernel parameter.
On Tue, Sep 13, 2016 at 9:31 AM, William Muriithi <william.muriithi@gmail.com mailto:william.muriithi@gmail.com> wrote:
Hello I have been struggling attempting to get cobbler to work with RHEL6. The problem is, RHEL 6.8 is coming up with the interface name as em1, but somehow, the kickstart snippet below end up assigning the interface the name eth0. I have temporarily commented the snippet as show below and was able to have a successful installation after that. # Network information #$SNIPPET('network_config') network --onboot no --device em1 --bootproto dhcp --noipv6 network --onboot no --device em2 --bootproto dhcp --noipv6 Have anybody been able to get cobbler working with interface names like em1 or p3p1?  My problem is, I have different hardware and therefore don't have flexibility of hard coding the interface name in the kickstart. Any pointer would be highly appreciated Regard, William _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org <mailto:cobbler@lists.fedorahosted.org> https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org <https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org>
cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
Hi William,
cobbler takes the interface names from the system's configuration in cobbler. Check the networking tab in the respective system's configuration dialog and rename the eth0 device to em1.
Hth, Tom.
On September 13, 2016 6:01:41 AM GMT+02:00, William Muriithi william.muriithi@gmail.com wrote:
Hello
I have been struggling attempting to get cobbler to work with RHEL6. The problem is, RHEL 6.8 is coming up with the interface name as em1, but somehow, the kickstart snippet below end up assigning the interface the name eth0. I have temporarily commented the snippet as show below and was able to have a successful installation after that.
# Network information #$SNIPPET('network_config') network --onboot no --device em1 --bootproto dhcp --noipv6 network --onboot no --device em2 --bootproto dhcp --noipv6
Have anybody been able to get cobbler working with interface names like em1 or p3p1? My problem is, I have different hardware and therefore don't have flexibility of hard coding the interface name in the kickstart. Any pointer would be highly appreciated
Regard,
William _______________________________________________ cobbler mailing list cobbler@lists.fedorahosted.org https://lists.fedorahosted.org/admin/lists/cobbler@lists.fedorahosted.org
cobbler@lists.fedorahosted.org