summaryrefslogtreecommitdiff
path: root/cloudinit
diff options
context:
space:
mode:
Diffstat (limited to 'cloudinit')
-rw-r--r--cloudinit/sources/DataSourceConfigDrive.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py
index 14676f97..3fa62ef3 100644
--- a/cloudinit/sources/DataSourceConfigDrive.py
+++ b/cloudinit/sources/DataSourceConfigDrive.py
@@ -382,8 +382,8 @@ def convert_network_data(network_json=None):
})
else:
subnet.update({
- 'type': 'static',
- 'address': network.get('ip_address'),
+ 'type': 'static',
+ 'address': network.get('ip_address'),
})
subnets.append(subnet)
cfg.update({'subnets': subnets})
@@ -412,7 +412,7 @@ def convert_network_data(network_json=None):
})
else:
raise ValueError(
- 'Unknown network_data link type: %s' % link['type'])
+ 'Unknown network_data link type: %s' % link['type'])
config.append(cfg)