Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vagrant.configure("2") do |config|
- config.vm.define "windows7" do |w7|
- w7.vm.box = "windows7"
- w7.vm.hostname = "windows7"
- w7.vm.communicator = "winrm"
- w7.winrm.transport = "plaintext"
- w7.vm.boot_timeout = 500
- w7.winrm.username = "vagrant"
- w7.winrm.password = "vagrant"
- w7.vm.network "private_network", ip: "192.168.50.3", virtualbox__intnet: "internal_vm"
- w7.vm.network "private_network", :type => 'dhcp', :name => 'VirtualBox Host-Only Ethernet Adapter #3', :adapter => 3
- config.winrm.timeout = 120
- config.winrm.retry_limit = 10
- w7.vm.provider :virtualbox do |win7|
- win7.name = "windows7"
- win7.memory = 1024
- win7.gui = true
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement