diff options
-rw-r--r-- | cloudinit/DataSourceNoCloud.py | 6 |
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 |