No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Vagrantfile 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3. # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
  4. VAGRANTFILE_API_VERSION = "2"
  5. Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  6. config.vm.box = "ubuntu/precise32"
  7. config.vm.network "public_network", bridge: 'en5: Thunderbolt Ethernet', ip: "10.0.0.1"
  8. #config.vm.network "private_network", type: "dhcp"
  9. #if Vagrant.has_plugin?("vagrant-cachier")
  10. # config.cache.scope = :box
  11. # #config.cache.synced_folder_opts = {
  12. # # type: :nfs,
  13. # # mount_options: ['rw', 'vers=3', 'tcp', 'nolock']
  14. # #}
  15. #end
  16. # If true, then any SSH connections made will enable agent forwarding.
  17. # Default value: false
  18. # config.ssh.forward_agent = true
  19. # Share an additional folder to the guest VM. The first argument is
  20. # the path on the host to the actual folder. The second argument is
  21. # the path on the guest to mount the folder. And the optional third
  22. # argument is a set of non-required options.
  23. # config.vm.synced_folder "../data", "/vagrant_data"
  24. # Provider-specific configuration so you can fine-tune various
  25. # backing providers for Vagrant. These expose provider-specific options.
  26. # Example for VirtualBox:
  27. #
  28. config.vm.provider "virtualbox" do |vb|
  29. vb.gui = false
  30. ## Use VBoxManage to customize the VM. For example to change memory:
  31. #vb.customize ["modifyvm", :id, "--memory", "1024"]
  32. end
  33. config.vm.provision "ansible" do |ansible|
  34. ansible.playbook = "playbook.yml"
  35. end
  36. end