# -*- 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.ssh.username = 'pandora' config.package.name = 'pandora.box' config.vm.box = "ubuntu/xenial64" config.vm.box_url = "https://cloud-images.ubuntu.com/xenial/current/xenial-server-cloudimg-amd64-vagrant.box" config.vm.network "forwarded_port", guest: 80, host: 2620 config.vm.synced_folder ".", "/srv", owner: 1001, group: 1001 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