Advertisement
Guest User

Untitled

a guest
Apr 22nd, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3.  
  4. # All Vagrant configuration is done below. The "2" in Vagrant.configure
  5. # configures the configuration version (we support older styles for
  6. # backwards compatibility). Please don't change it unless you know what
  7. # you're doing.
  8. Vagrant.configure(2) do |config|
  9.  
  10. config.vm.box = "optimist/win-2012-r2"
  11. config.vm.box_url = "./vagrants/win-2012-r2-virtualbox.box"
  12. config.vm.guest = :windows
  13.  
  14. config.vm.communicator = "winrm"
  15. config.winrm.username = "devrobot"
  16. config.winrm.password = "********"
  17.  
  18. config.windows.halt_timeout = 15
  19.  
  20. # Forward ports from host to guest
  21. config.vm.network :forwarded_port, guest: 80, host: 8080, auto_correct: true
  22. config.vm.network :forwarded_port, guest: 3389, host: 33389, auto_correct: true
  23. config.vm.network :forwarded_port, guest: 5985, host: 55985, auto_correct: true
  24.  
  25. config.vm.provider "virtualbox" do |vb|
  26. # Display the VirtualBox GUI when booting the machine
  27. vb.gui = true
  28. end
  29. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement