pandora_vagrant/Vagrantfile

24 lines
909 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
2017-03-26 18:26:22 +00:00
#config.ssh.username = 'pandora'
2015-05-02 10:11:05 +00:00
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
2017-03-26 18:26:22 +00:00
config.vm.synced_folder ".", "/srv", owner: 1001, group: 1001
2015-05-02 10:11:05 +00:00
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
2017-03-26 18:26:22 +00:00
2015-05-02 10:11:05 +00:00
end