From 96a656da202c571714c6f2670eb717c3cafd734f Mon Sep 17 00:00:00 2001 From: Scott Moser Date: Fri, 18 Feb 2011 21:56:06 -0500 Subject: fix bug if ovf had empty seedfrom --- cloudinit/DataSourceOVF.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cloudinit/DataSourceOVF.py') 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: -- cgit v1.2.3