diff options
| author | Scott Moser <smoser@ubuntu.com> | 2011-02-18 21:56:06 -0500 |
|---|---|---|
| committer | Scott Moser <smoser@ubuntu.com> | 2011-02-18 21:56:06 -0500 |
| commit | 96a656da202c571714c6f2670eb717c3cafd734f (patch) | |
| tree | ca663dd79e587224a755093cdef6a13db04fe158 | |
| parent | 78aad091d8e7a9612fb3f25cfc7fa6104751a55c (diff) | |
| download | vyos-cloud-init-96a656da202c571714c6f2670eb717c3cafd734f.tar.gz vyos-cloud-init-96a656da202c571714c6f2670eb717c3cafd734f.zip | |
fix bug if ovf had empty seedfrom
| -rw-r--r-- | cloudinit/DataSourceOVF.py | 2 |
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: |
