mirror of
https://github.com/kevingruesser/bootstrap-vz.git
synced 2025-10-08 01:40:31 +00:00
add mirror attribute management
This commit is contained in:
parent
f83b6e821f
commit
1b9f39a803
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue