diff options
-rw-r--r-- | config/Vagrantfile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/Vagrantfile b/config/Vagrantfile index 6932374e9..fe071864e 100644 --- a/config/Vagrantfile +++ b/config/Vagrantfile @@ -15,6 +15,9 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| config.vm.box = "precise64" config.vm.box_url = "http://files.vagrantup.com/precise64.box" config.vm.network :private_network, :ip => "10.10.10.30" + config.vm.synced_folder "../.", "/home/vagrant/alaveteli", :owner => "vagrant", :group => "vagrant" + + config.ssh.forward_agent = true # The bundle install fails unless you have quite a large amount of # memory; insist on 1.5GiB: @@ -29,7 +32,8 @@ Vagrant.configure(VAGRANTFILE_API_VERSION) do |config| # master: config.vm.provision :shell, :inline => "sed -i -e 's/BRANCH=master/BRANCH=install-script/' install-site.sh" config.vm.provision :shell, :inline => "./install-site.sh " \ + "--dev " \ "alaveteli " \ - "alaveteli " \ + "vagrant " \ "#{ ALAVETELI_FQDN }" end |