1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-10-03 17:50:11 +02:00

Update Vagrantfile and docs to clarify v1.4.3 is ok.

This commit is contained in:
Patrick Connolly 2014-08-27 11:35:31 -03:00
parent 5822df9231
commit c08d2092f6
2 changed files with 5 additions and 4 deletions

View File

@ -113,8 +113,7 @@ VirtualBox (debian package virtualbox)
@item
Ruby (debian packages ruby and rubygems)
@item
Vagrant (unpackaged) Be sure to use 1.3.x because 1.4.x is completely broken
(at the time of writing, the forthcoming 1.4.3 might work)
Vagrant (unpackaged, tested on v1.4.3)
@item
Paramiko (debian package python-paramiko)
@item

View File

@ -144,12 +144,14 @@ for f, src, shasum in cachefiles:
# Generate an appropriate Vagrantfile for the buildserver, based on our
# settings...
vagrantfile = """
Vagrant::Config.run do |config|
Vagrant.configure("2") do |config|
config.vm.box = "{0}"
config.vm.box_url = "{1}"
config.vm.customize ["modifyvm", :id, "--memory", "{2}"]
config.vm.provider "virtualbox" do |v|
v.customize ["modifyvm", :id, "--memory", "{2}"]
end
config.vm.provision :shell, :path => "fixpaths.sh"
""".format(config['basebox'], config['baseboxurl'], config['memory'])