diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-06-21 13:43:48 -0400 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-06-21 13:43:48 -0400 |
commit | 2a8dc75a5b8ab42ca805f2ec6b97dc7a074e82f3 (patch) | |
tree | ca4ad4ab2c4c4ad7a04e974ede9baae8c5ce45b7 /cloudinit/net | |
parent | 58d0b39d20ec5c18b1c9449c6358242860356e0d (diff) | |
download | vyos-cloud-init-2a8dc75a5b8ab42ca805f2ec6b97dc7a074e82f3.tar.gz vyos-cloud-init-2a8dc75a5b8ab42ca805f2ec6b97dc7a074e82f3.zip |
no longer skip 'lo' elements when reading. pass 3rd test.
Diffstat (limited to 'cloudinit/net')
-rw-r--r-- | cloudinit/net/eni.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py index d963d1f2..1383dd6b 100644 --- a/cloudinit/net/eni.py +++ b/cloudinit/net/eni.py @@ -271,10 +271,6 @@ def _ifaces_to_net_config_data(ifaces): for name, data in ifaces.items(): # devname is 'eth0' for name='eth0:1' devname = name.partition(":")[0] - if devname == "lo": - # currently provding 'lo' in network config results in duplicate - # entries. in rendered interfaces file. so skip it. - continue if devname not in devs: devs[devname] = {'type': 'physical', 'name': devname, 'subnets': []} |