mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Work when cpu count is not defined
This commit is contained in:
parent
45925c6816
commit
c6434476e9
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ Vagrant.configure("2") do |config|
|
|||
""".format(config['basebox'],
|
||||
config['baseboxurl'],
|
||||
config['memory'],
|
||||
config['cpus'] or 1)
|
||||
config.get('cpus', 1))
|
||||
if 'aptproxy' in config and config['aptproxy']:
|
||||
vagrantfile += """
|
||||
config.vm.provision :shell, :inline => 'sudo echo "Acquire::http {{ Proxy \\"{0}\\"; }};" > /etc/apt/apt.conf.d/02proxy && sudo apt-get update'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue