pandora_vagrant/Vagrantfile
2015-05-02 12:11:05 +02:00

21 lines
858 B
Ruby

# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.hostname = 'pandora'
config.vm.guest = :ubuntu
config.package.name = 'pandora.box'
config.vm.box = 'trusty-cloud'
config.vm.box_url = 'https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box'
config.vm.network "forwarded_port", guest: 80, host: 2620
config.vm.synced_folder ".", "/srv"
config.vm.provision "shell", path: "install.sh"
config.vm.provision :shell, :inline => "sudo /srv/pandora/ctl start", run: "always"
config.vm.provider "virtualbox" do |vb|
vb.customize ["modifyvm", :id, "--memory", "1024"]
vb.customize ['modifyvm', :id, '--cpus', '2']
end
end