mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-10-11 09:30:30 +00:00
Only add default tarball_dir if tarball is true
This commit is contained in:
parent
9f85cdf909
commit
b3311a8ff6
1 changed files with 1 additions and 1 deletions
|
@ -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']
|
||||
|
|
Loading…
Add table
Reference in a new issue