summaryrefslogtreecommitdiff
path: root/cloudinit/net/eni.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-07-13 22:36:23 -0400
committerScott Moser <smoser@ubuntu.com>2016-07-13 22:36:23 -0400
commit22a93665b90fa7fba80946d690330eda890f50d4 (patch)
tree3df7b9a8f4c12529e2d87d6214316db03e62dced /cloudinit/net/eni.py
parent7d58c949c2f5d7821ec664ed25167dfea92964f7 (diff)
parent333eea5105956c978043579a49d935af6d3ceff2 (diff)
downloadvyos-cloud-init-22a93665b90fa7fba80946d690330eda890f50d4.tar.gz
vyos-cloud-init-22a93665b90fa7fba80946d690330eda890f50d4.zip
merge from trunk
Diffstat (limited to 'cloudinit/net/eni.py')
-rw-r--r--cloudinit/net/eni.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/cloudinit/net/eni.py b/cloudinit/net/eni.py
index 419e7a74..0221f55d 100644
--- a/cloudinit/net/eni.py
+++ b/cloudinit/net/eni.py
@@ -61,7 +61,7 @@ def _iface_add_subnet(iface, subnet):
value = " ".join(value)
if '_' in key:
key = key.replace('_', '-')
- content += " {} {}\n".format(key, value)
+ content += " {0} {1}\n".format(key, value)
return content
@@ -86,7 +86,7 @@ def _iface_add_attrs(iface):
if value and key not in ignore_map:
if type(value) == list:
value = " ".join(value)
- content += " {} {}\n".format(key, value)
+ content += " {0} {1}\n".format(key, value)
return content