summaryrefslogtreecommitdiff
path: root/cloudinit/DataSourceOVF.py
diff options
context:
space:
mode:
authorScott Moser <smoser@ubuntu.com>2011-02-18 21:56:06 -0500
committerScott Moser <smoser@ubuntu.com>2011-02-18 21:56:06 -0500
commit96a656da202c571714c6f2670eb717c3cafd734f (patch)
treeca663dd79e587224a755093cdef6a13db04fe158 /cloudinit/DataSourceOVF.py
parent78aad091d8e7a9612fb3f25cfc7fa6104751a55c (diff)
downloadvyos-cloud-init-96a656da202c571714c6f2670eb717c3cafd734f.tar.gz
vyos-cloud-init-96a656da202c571714c6f2670eb717c3cafd734f.zip
fix bug if ovf had empty seedfrom
Diffstat (limited to 'cloudinit/DataSourceOVF.py')
-rw-r--r--cloudinit/DataSourceOVF.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/cloudinit/DataSourceOVF.py b/cloudinit/DataSourceOVF.py
index 6f0bd523..04fa8da8 100644
--- a/cloudinit/DataSourceOVF.py
+++ b/cloudinit/DataSourceOVF.py
@@ -79,7 +79,7 @@ class DataSourceOVF(DataSource.DataSource):
if len(found) == 0:
return False
- if 'seedfrom' in md:
+ if 'seedfrom' in md and md['seedfrom']:
seedfrom = md['seedfrom']
seedfound = False
for proto in self.supported_seed_starts: