Skip to content

Instantly share code, notes, and snippets.

@bbenson29
Created January 26, 2017 02:41
Show Gist options
  • Save bbenson29/c23443c4fc10584e89b7452cdb1bebda to your computer and use it in GitHub Desktop.
Save bbenson29/c23443c4fc10584e89b7452cdb1bebda to your computer and use it in GitHub Desktop.
windows Vagrant VM
Vagrant.configure("2") do |config|
config.vm.define "webserver01" do |web01|
web01.vm.box = "jptoto/Windows2012R2"
web01.vm.hostname = "windows-webserver01"
web01.vm.communicator = "winrm"
web01.winrm.username = "vagrant"
web01.winrm.password = "vagrant"
web01.vm.network "private_network", ip: "192.168.57.3"
web01.vm.provider "virtualbox" do |vb|
vb.memory = 2048
vb.cpus = 2
end
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment