From b3311a8ff6c81efa36031885099bbd8b288d5ac8 Mon Sep 17 00:00:00 2001 From: Anders Ingemann Date: Sat, 13 Jul 2013 14:04:06 +0200 Subject: [PATCH] Only add default tarball_dir if tarball is true --- base/manifest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/manifest.py b/base/manifest.py index 1555cf3..dd53dda 100644 --- a/base/manifest.py +++ b/base/manifest.py @@ -49,7 +49,7 @@ class Manifest(object): self.bootstrapper = data['bootstrapper'] if 'tarball' not in self.bootstrapper: self.bootstrapper['tarball'] = False - if 'tarball_dir' not in self.bootstrapper: + if 'tarball_dir' not in self.bootstrapper and self.bootstrapper['tarball']: self.bootstrapper['tarball_dir'] = '/tmp' self.volume = data['volume'] self.system = data['system']