Advertisement
Guest User

Untitled

a guest
Jan 11th, 2017
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.67 KB | None | 0 0
  1. # -*- mode: ruby -*-
  2. # vi: set ft=ruby :
  3.  
  4. Vagrant.configure("2") do |config|
  5. box_name = "win81x86-base"
  6. config.vm.box = box_name
  7. config.vm.guest = :windows
  8. config.vm.boot_timeout = 600
  9. config.vm.graceful_halt_timeout = 600
  10. config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
  11. config.vm.network :forwarded_port, guest: 3389, host: 3389, id: "rdp", auto_correct: true
  12. config.vm.communicator = "winrm"
  13. config.winrm.username = "vagrant"
  14. config.winrm.password = "vagrant"
  15.  
  16. config.vm.provider "virtualbox" do |vb|
  17. vb.gui = false
  18.  
  19. #vb.name = box_name #//vb.name is VirtualBox GUI's VM Name.
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement