diff options
author | Scott Moser <smoser@brickies.net> | 2017-07-19 09:28:52 -0400 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-07-19 09:51:55 -0400 |
commit | c0060fe4892197179a5cfbfd3239cf3b6c3e5029 (patch) | |
tree | cd1ae5e0f2f4cd889d9565f1f450e9a5673aa51f /cloudinit/net/sysconfig.py | |
parent | 865e941f3f88c7daeafbf1eab856e02ce2b6a5f7 (diff) | |
download | vyos-cloud-init-c0060fe4892197179a5cfbfd3239cf3b6c3e5029.tar.gz vyos-cloud-init-c0060fe4892197179a5cfbfd3239cf3b6c3e5029.zip |
net: fix renaming of nics to support mac addresses written in upper case.
The network device renaming code previously required the case of
the mac address input to match that of the data read from the system.
For example, if user provided network config with mac address
in upper case, then cloud-init would not rename the device correctly
as /sys/class/net/address stores lower case values.
The fix here is to always compare lower case mac addresses.
LP: #1705147
Diffstat (limited to 'cloudinit/net/sysconfig.py')
0 files changed, 0 insertions, 0 deletions