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