diff options
author | Ryan Harper <ryan.harper@canonical.com> | 2017-07-20 14:46:30 -0500 |
---|---|---|
committer | Scott Moser <smoser@brickies.net> | 2017-07-20 17:52:53 -0400 |
commit | 7e41b2a773b81452f14a18ec8c4f3316a66d3f5e (patch) | |
tree | 0f6932210420bdaece5d1999f8cbdd56821cd3d1 /cloudinit/cloud.py | |
parent | 811ce49d74afb158b2626a201ef5c714d5c9b059 (diff) | |
download | vyos-cloud-init-7e41b2a773b81452f14a18ec8c4f3316a66d3f5e.tar.gz vyos-cloud-init-7e41b2a773b81452f14a18ec8c4f3316a66d3f5e.zip |
sysconfig: use MACADDR on bonds/bridges to configure mac_address
Previously, sysconfig rendered HWADDR for all interface types, but
that value is only used to identify physical devices. Instead use
MACADDR to configure the MAC on virtual devices, like bonds and
bridges.
- Sort bond slave list to ensure consistent ordering in sysconfig
rendered files.
- Add unittests for sysconfig rendering of bonds/bridges with
mac_address
LP: #1701417
Diffstat (limited to 'cloudinit/cloud.py')
0 files changed, 0 insertions, 0 deletions