Vagrantfile 619 B

12345678910111213141516171819202122232425
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. HOST_SSH_PORT = 2260
  4. Vagrant.configure(2) do |config|
  5. config.vm.box = "ubuntu/trusty64"
  6. config.vm.network "public_network"
  7. config.vm.network "private_network", :ip => '172.16.1.2'
  8. config.vm.network :forwarded_port, guest: 22, host: 2222, id: "ssh", disabled: true
  9. config.vm.network :forwarded_port, guest: 22, host: HOST_SSH_PORT, auto_correct: true
  10. config.ssh.port = HOST_SSH_PORT
  11. config.ssh.guest_port = 22
  12. config.vm.synced_folder '.', '/vagrant', disabled: true
  13. config.vm.synced_folder ".", "/musare"
  14. config.vm.provision "shell", path: "bootstrap.sh"
  15. end