aboutsummaryrefslogtreecommitdiffstats
path: root/firstboot/userdata_heat_admin.yaml
diff options
context:
space:
mode:
authorHarald Jensas <harald.jensas@gmail.com>2016-11-17 15:37:10 +0100
committerHarald Jensas <harald.jensas@gmail.com>2016-11-17 23:34:43 +0100
commit06d4d088adcceb6076017fb2a58b5a339232a6a3 (patch)
tree55f49a22ca954979eb6e4ec7b6443bc297bcaa3f /firstboot/userdata_heat_admin.yaml
parente171ef1b684ee8dcc13b30586f11f5ccb54eba98 (diff)
No longer hard coding to a specifc network interface name.
Instead of using a specific network interface name, thi fix fetch all ethernet mac addresses. Then uses this list of mac addresses to do a check if any entries in the list match any of the values in NetConfigDataLookup for a node. If there is a match, the /etc/os-net-config/mapping.yaml file for the node will be written. This fix removes the hard coded interface name 'eth0' used to get a mac address as identifyer for the specific node before. Using a hard coded interface name such as 'eth0' would have failed on most hardware because of "consistent network device names". Fix Bug: #1642551 Change-Id: I6c1d1b4d70b916bc5d9049469df8221f8ab2eb95
Diffstat (limited to 'firstboot/userdata_heat_admin.yaml')
0 files changed, 0 insertions, 0 deletions