Bug #10614
closedKickstart template on rhel5 includes --device=MAC
Description
Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1206615
Description of problem:
The Satellite Kickstart Default provisioning template will render the following:
network --bootproto dhcp --device=52:54:00:35:17:60 --hostname moe-59-64.lexample.com
However rhel5 does not seem to support specifying the mac address with --device, only rhle6 and newer. This causes rhel5 provisioning to fail with an error "The Following network interface <MAC> does not exist"
Version-Release number of selected component (if applicable):
katello-2.2.0.8-1.el7sat.noarch
katello-ca-consumer-ibm-x3250m4-06.lab.eng.rdu2.redhat.com-1.0-1.noarch
katello-certs-tools-2.2.1-1.el7sat.noarch
katello-common-2.2.0.8-1.el7sat.noarch
katello-debug-2.2.0.8-1.el7sat.noarch
katello-default-ca-1.0-1.noarch
katello-installer-2.3.5-1.el7sat.noarch
katello-installer-base-2.3.5-1.el7sat.noarch
katello-server-ca-1.0-1.noarch
The relevant line form the snippet:
network --bootproto <%= dhcp ? 'dhcp' : "static --ip=#{@host.ip} --netmask=#{subnet.mask} --gateway=#{subnet.gateway} --nameserver=#{[subnet.dns_primary, subnet.dns_secondary].select(&:present?).join(',')}" > --device=<= @host.mac -> --hostname <= @host %>
How reproducible:
Always
Steps to Reproduce:
1. Attempt to provision a rhel5 machine
Actual results:
Fails with error "The Following network interface <MAC> does not exist"
Expected results:
Successful provision
Additional info:
The foreman kickstart default for rhel does not seem to have the same networking line (and does not include a --device reference), but I'm not sure the history behind this.
Updated by The Foreman Bot over 9 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/Katello/katello/pull/5248 added
- Pull request deleted (
)
Updated by Justin Sherrill over 9 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset katello|72ac9eaaecb6d3c44e655ee85a532a626e3a0141.
Updated by Eric Helms over 9 years ago
- Translation missing: en.field_release set to 31
- Triaged changed from No to Yes