add mirror attribute management

This commit is contained in:
Olivier Sallou 2013-08-12 16:05:21 +02:00
parent f83b6e821f
commit 1b9f39a803

View file

@ -13,7 +13,11 @@ def get_bootstrap_args(info):
options.append('--include=' + ','.join(include))
if len(exclude) > 0:
options.append('--exclude=' + ','.join(exclude))
arguments = [info.manifest.system['release'], info.root, 'http://http.debian.net/debian']
if info.manifest.system['mirror']:
mirror = info.manifest.system['mirror']
else:
mirror = 'http://http.debian.net/debian'
arguments = [info.manifest.system['release'], info.root, mirror]
return executable, options, arguments