Advertisement
Guest User

Untitled

a guest
Nov 27th, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3.  
  4. # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
  5. VAGRANTFILE_API_VERSION = "2"
  6.  
  7. Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  8.  
  9. config.vm.box = "v0rtex/xenial64"
  10.  
  11. config.vm.network :private_network, ip: "10.10.10.10"
  12.  
  13. config.ssh.username = 'vagrant'
  14. config.ssh.password = 'vagrant'
  15.  
  16. config.vm.provider :virtualbox do |vb|
  17. vb.name = "supercool"
  18. vb.customize ["modifyvm", :id, "--memory", "768"]
  19. vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  20. end
  21.  
  22. end
  23.  
  24. # -*- mode: ruby -*-
  25. # vi: set ft=ruby :
  26.  
  27. # Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
  28. VAGRANTFILE_API_VERSION = "2"
  29.  
  30. Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
  31.  
  32. config.vm.box = "ubuntu/xenial64"
  33.  
  34. config.vm.network :private_network, ip: "10.10.10.10"
  35.  
  36. config.ssh.insert_key = true
  37. config.ssh.forward_agent = true
  38.  
  39. config.vm.provider :virtualbox do |vb|
  40. vb.name = "supercool"
  41. vb.customize ["modifyvm", :id, "--memory", "768"]
  42. vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"]
  43. end
  44.  
  45. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement