diff options
author | Scott Moser <smoser@ubuntu.com> | 2016-08-11 06:43:17 -0600 |
---|---|---|
committer | Scott Moser <smoser@ubuntu.com> | 2016-08-11 09:15:51 -0600 |
commit | cdcac86848a570eb657af428fe4d2bd4ce3bceb1 (patch) | |
tree | d3316457e0797ffb786987f42632a7add0e9dd1a /cloudinit/sources/DataSourceNoCloud.py | |
parent | db72092b65ecc57bafe1ac6e81c99115f6bd1936 (diff) | |
download | vyos-cloud-init-cdcac86848a570eb657af428fe4d2bd4ce3bceb1.tar.gz vyos-cloud-init-cdcac86848a570eb657af428fe4d2bd4ce3bceb1.zip |
NoCloud: fix bug providing network-interfaces via meta-data.
This fixes an issue with the NoCloud datasource where it would not
recognize the 'network-interfaces' key provided in meta-data.
LP: 1577982
Diffstat (limited to 'cloudinit/sources/DataSourceNoCloud.py')
-rw-r--r-- | cloudinit/sources/DataSourceNoCloud.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py index cdc9eef5..e6a0b5fe 100644 --- a/cloudinit/sources/DataSourceNoCloud.py +++ b/cloudinit/sources/DataSourceNoCloud.py @@ -52,7 +52,7 @@ class DataSourceNoCloud(sources.DataSource): found = [] mydata = {'meta-data': {}, 'user-data': "", 'vendor-data': "", - 'network-config': {}} + 'network-config': None} try: # Parse the kernel command line, getting data passed in |