Advertisement
Guest User

Untitled

a guest
Oct 26th, 2016
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.75 KB | None | 0 0
  1. Vagrant.configure(2) do |config|
  2. # load bento centos-6.7 at ver 2.2.7 ( latest )
  3. config.vm.box = "bento/centos-6.7"
  4.  
  5. # setting virtualbox
  6. config.vm.provider "virtualbox" do |v|
  7. v.name = "Vagrant CentOS bento OreOre"
  8. v.cpus = 2
  9. v.memory = 1024
  10. v.customize ["modifyvm", :id, "--vram","16"]
  11. v.customize ["setextradata", :id, "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled", 0]
  12. end
  13.  
  14. #Private network please rewrite your ip address!!
  15. config.vm.network "public_network", ip: "192.168.xxx.xxx", bridge: 'en0: Wi-Fi (AirPort)'
  16.  
  17. # config synced_folder ( sample: website ) please rewrite your case!!
  18. config.vm.synced_folder "~/Documents/workspace/vagrant_html" , "/var/www/html" , owner: "apache", group: "apache"
  19.  
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement