support HTTPS apt repos

Many third party apt repos require HTTPS, and it is also common to use
HTTPS mirrors like https://deb.debian.org.  This prepares the basebox so
that any of the later stages can use HTTPS apt repos, including
makebuildserver, provisioning, and build metadata.
parent 80aeab5f
......@@ -72,6 +72,8 @@ def init_params(provider, debver, workdir='.', verbose=False, dry_run=False):
params['img_name_raw'] = params['vm_name'] + '.raw'
params['img_path_raw'] = os.path.join(workdir, params['img_name_raw'])
params['vagrantfile_path'] = os.path.join(workdir, 'Vagrantfile')
# many third party apt repos require HTTPS
params['deb_packages'] += ('apt-transport-https', 'ca-certificates')
# add some packages which are missing in makebuildserver:
# (because they have been preinstalled on jessie64.box)
params['deb_packages'] += ('perl',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment