# Set to True if your base box is 64 bit (e.g. testing32.box isn't)
# arch64 = True
+
+# If this is running on an older machine or on a virtualized system,
+# it can run a lot slower. If the provisioning fails with a warning
+# about the timeout, extend the timeout here. (default: 600 seconds)
+#
+# boot_timeout = 1200
'https://f-droid.org/jessie32.box',
],
'debian_mirror': 'http://http.debian.net/debian/',
+ 'boot_timeout': 600,
'cachedir': cachedir,
'cpus': 1,
'memory': 3584,
v.customize ["modifyvm", :id, "--cpus", "{3}"]
end
+ config.vm.boot_timeout = {4}
+
config.vm.provision :shell, :path => "fixpaths.sh"
""".format(config['basebox'],
baseboxurl,
config['memory'],
- config.get('cpus', 1))
+ config.get('cpus', 1),
+ config['boot_timeout'])
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'