summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceNoCloud.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2010-08-13 10:07:14 -0400
committerScott Moser <smoser@ubuntu.com>2010-08-13 10:07:14 -0400
commit515b25be6fc4fa370653d56015542c1944f2cdc8 (patch)
treeb297fb8d870d59435f4f065de1a20f7c12ef96d7 /cloudinit/DataSourceNoCloud.py
parent1bb3d726c2627eaf028f82d2d1bd41e676b8c90f (diff)
downloadvyos-cloud-init-515b25be6fc4fa370653d56015542c1944f2cdc8.tar.gz
vyos-cloud-init-515b25be6fc4fa370653d56015542c1944f2cdc8.zip
fix 'seedfrom' in DataSourceNoCloud (LP: #617400)
LP: #617400
Diffstat (limited to 'cloudinit/DataSourceNoCloud.py')
-rw-r--r--cloudinit/DataSourceNoCloud.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/cloudinit/DataSourceNoCloud.py b/cloudinit/DataSourceNoCloud.py
index 175f39b4..cd988d08 100644
--- a/cloudinit/DataSourceNoCloud.py
+++ b/cloudinit/DataSourceNoCloud.py
@@ -77,12 +77,12 @@ class DataSourceNoCloud(DataSource.DataSource):
# attempt to seed the userdata / metadata from its value
if "seedfrom" in md:
seedfrom = md["seedfrom"]
- found = False
+ seedfound = False
for proto in self.supported_seed_starts:
if seedfrom.startswith(proto):
- found=proto
+ seedfound=proto
break
- if not found:
+ if not seedfound:
cloudinit.log.debug("seed from %s not supported by %s" %
(seedfrom, self.__class__))
return False