summaryrefslogtreecommitdiff
path: root/cloudinit/net/eni.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-07-13 22:45:19 -0400
committerScott Moser <smoser@ubuntu.com>2016-07-13 22:45:19 -0400
commit7b4eef8f57ffb02c3851c7bfc36d614ebab8f341 (patch)
treee7216eaf283bdcbe233939ccf1c154b90150fc49 /cloudinit/net/eni.py
parent150d064b5693c7a287790900923b9413fe6d73dd (diff)
parent22a93665b90fa7fba80946d690330eda890f50d4 (diff)
downloadvyos-cloud-init-7b4eef8f57ffb02c3851c7bfc36d614ebab8f341.tar.gz
vyos-cloud-init-7b4eef8f57ffb02c3851c7bfc36d614ebab8f341.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 cdcc951b..eff5b924 100644
--- a/cloudinit/net/eni.py
+++ b/cloudinit/net/eni.py
@@ -62,7 +62,7 @@ def _iface_add_subnet(iface, subnet):
value = " ".join(value)
if '_' in key:
key = key.replace('_', '-')
- content.append(" {} {}".format(key, value))
+ content.append(" {0} {1}".format(key, value))
return sorted(content)
@@ -95,7 +95,7 @@ def _iface_add_attrs(iface, index):
continue
if type(value) == list:
value = " ".join(value)
- content.append(" {} {}".format(renames.get(key, key), value))
+ content.append(" {0} {1}".format(renames.get(key, key), value))
return sorted(content)