pandora vagrant setup
This commit is contained in:
commit
8b9f8e190b
4 changed files with 49 additions and 0 deletions
21
Vagrantfile
vendored
Normal file
21
Vagrantfile
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
# -*- 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue