pandora_vagrant/Vagrantfile

22 lines
847 B
Text
Raw Normal View History

2015-05-02 10:11:05 +00:00
# -*- 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'
2017-03-16 22:08:08 +00:00
config.vm.box = "ubuntu/xenial64"
config.vm.box_url = "https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box"
2015-05-02 10:11:05 +00:00
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