summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-08-12 12:47:26 -0400
committerScott Moser <smoser@ubuntu.com>2010-08-12 12:47:26 -0400
commit000580b60ba23519210768140a020b1e36518e14 (patch)
treee358161a48da067c2d04ff89cc63a77945d5108a /cloudinit/DataSourceNoCloud.py
parent29c52b1e83c6d236778efb1ffdfc6d42b23fd9ac (diff)
downloadvyos-cloud-init-000580b60ba23519210768140a020b1e36518e14.tar.gz
vyos-cloud-init-000580b60ba23519210768140a020b1e36518e14.zip
DataSourceNoCloud: fix issue with seeded files
get_data was returning True before it set self.user_data_raw and self.user_data.
Diffstat (limited to 'cloudinit/DataSourceNoCloud.py')
-rw-r--r--cloudinit/DataSourceNoCloud.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/cloudinit/DataSourceNoCloud.py b/cloudinit/DataSourceNoCloud.py
index b20a35e2..66be6126 100644
--- a/cloudinit/DataSourceNoCloud.py
+++ b/cloudinit/DataSourceNoCloud.py
@@ -67,7 +67,6 @@ class DataSourceNoCloud(DataSource.DataSource):
ud = seedret['user-data']
found = True
cloudinit.log.debug("using seeded cache data in %s" % self.seeddir)
- return True
# there was no indication on kernel cmdline or data
# in the seeddir suggesting this handler should be used.