summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceConfigDrive.py
diff options
context:
space:
mode:
authorRyan Harper <ryan.harper@canonical.com>2016-03-23 14:17:10 -0500
committerRyan Harper <ryan.harper@canonical.com>2016-03-23 14:17:10 -0500
commit6b79e2c6f9a7342163691be9e785cef1aa642541 (patch)
tree90b4bc25b8e94ab772b1f1669ebc80d2caedf2c0 /cloudinit/sources/DataSourceConfigDrive.py
parentd8cfa30be45492140c04fb9c9ed69e83e9f041d9 (diff)
downloadvyos-cloud-init-6b79e2c6f9a7342163691be9e785cef1aa642541.tar.gz
vyos-cloud-init-6b79e2c6f9a7342163691be9e785cef1aa642541.zip
fix openstack versions s/KILO/LIBERY drop networkdata read helper
Diffstat (limited to 'cloudinit/sources/DataSourceConfigDrive.py')
-rw-r--r--cloudinit/sources/DataSourceConfigDrive.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceConfigDrive.py b/cloudinit/sources/DataSourceConfigDrive.py
index d84fab54..15dddefe 100644
--- a/cloudinit/sources/DataSourceConfigDrive.py
+++ b/cloudinit/sources/DataSourceConfigDrive.py
@@ -150,7 +150,7 @@ class DataSourceConfigDrive(openstack.SourceMixin, sources.DataSource):
nd = results.get('networkdata')
self.networkdata_pure = nd
try:
- self.network_json = openstack.convert_networkdata_json(nd)
+ self.network_json = util.load_json(nd)
except ValueError as e:
LOG.warn("Invalid content in network-data: %s", e)
self.network_json = None