Merge ~smoser/cloud-init:bug/1692028-empty-macs-for-bymac into cloud-init:master
Proposed by
Scott Moser
Status: | Merged |
---|---|
Merged at revision: | 2c0655feb9a194b5fbdfe90a5f847c16f1e15409 |
Proposed branch: | ~smoser/cloud-init:bug/1692028-empty-macs-for-bymac |
Merge into: | cloud-init:master |
Diff against target: |
107 lines (+22/-8) 2 files modified
cloudinit/net/__init__.py (+3/-0) tests/unittests/test_net.py (+19/-8) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Scott Moser | Approve | ||
Server Team CI bot | continuous-integration | Approve | |
Ryan Harper | Approve | ||
Review via email: mp+324332@code.launchpad.net |
Commit message
Fix get_interfaces_
Some interfaces (greptap0 in the bug) have a mac address of
'00:00:
as the 'lo' device also has that mac.
The change here is to just ignore macs other than 'lo' that have that.
LP: #1692028
To post a comment you must log in.
I'm not sure where this 'gretap0' device comes from or if it would ever appear in the network data. I'd suggest that it would be bad for it to...