ironic-agent element hardcodes interfaces names for DHCP.

Bug #1471802 reported by Om Kumar on 2015-07-06
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Om Kumar

Bug Description

code snippet from element/ironic-agent/post-install.d/80-ironic-agent

 #configs for additional interfaces
for IFACE_NUM in 1 2
    sudo cp $SYSCONFIG_PATH/ifcfg-eth0 $SYSCONFIG_PATH/ifcfg-eth$IFACE_NUM
    sudo sed -i "s/eth0/eth$IFACE_NUM/g" $SYSCONFIG_PATH/ifcfg-eth$IFACE_NUM

Om Kumar (om-kumar) on 2015-07-06
Changed in diskimage-builder:
assignee: nobody → Om Kumar (om-kumar)
Changed in diskimage-builder:
status: New → In Progress

Submitter: Jenkins
Branch: master

commit 870ea5bb5e15115c801cb14bb463b1e8496fe315
Author: Om Kumar <email address hidden>
Date: Mon Jul 6 19:09:05 2015 +0530

    Removes hardcoded refrences for ethernet interface

    Remove hardcoded refrences for ethernet interfaces from ironic-agent
    and sets a dependency on dhcp-all-interfaces to ensure it works for
    all interfaces for all other operating systems.

    Change-Id: I7ae6d1c5bd9911ef3db45187c0010cf0973badf1
    Closes-Bug: #1471802

Changed in diskimage-builder:
status: In Progress → Fix Committed
Changed in diskimage-builder:
importance: Undecided → High
Changed in diskimage-builder:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers