summaryrefslogtreecommitdiff
path: root/cloudinit/sources/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2016-03-22 05:39:58 -0400
committerScott Moser <smoser@ubuntu.com>2016-03-22 05:39:58 -0400
commit4445b881380a39a56490d8a8f9e07bba4540ec62 (patch)
tree6e0cbc17778ceff4cee1573438aeff4a1aa6e4c9 /cloudinit/sources/DataSourceNoCloud.py
parentca00b0f1f8c8a40409328c595d44234bb61c24c4 (diff)
downloadvyos-cloud-init-4445b881380a39a56490d8a8f9e07bba4540ec62.tar.gz
vyos-cloud-init-4445b881380a39a56490d8a8f9e07bba4540ec62.zip
fix quick_read_instance_id in nocloud for seed_dirs change
Diffstat (limited to 'cloudinit/sources/DataSourceNoCloud.py')
-rw-r--r--cloudinit/sources/DataSourceNoCloud.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/sources/DataSourceNoCloud.py b/cloudinit/sources/DataSourceNoCloud.py
index bd04a6fe..afd08935 100644
--- a/cloudinit/sources/DataSourceNoCloud.py
+++ b/cloudinit/sources/DataSourceNoCloud.py
@@ -217,7 +217,7 @@ class DataSourceNoCloud(sources.DataSource):
return None
quick_id = _quick_read_instance_id(cmdline_id=self.cmdline_id,
- dirs=[self.seed_dir])
+ dirs=self.seed_dirs)
if not quick_id:
return None
return quick_id == current