Skip to content

Instantly share code, notes, and snippets.

@pawelsawicz
Created July 30, 2014 14:16
Show Gist options
  • Save pawelsawicz/0e863f1aa10a7aa2a7cb to your computer and use it in GitHub Desktop.
Save pawelsawicz/0e863f1aa10a7aa2a7cb to your computer and use it in GitHub Desktop.
vagrand
# -*- mode: ruby -*-
# vi: set ft=ruby :
# Vagrantfile API/syntax version. Don't touch unless you know what you're doing!
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "opentable/win-2012r2-essentials-amd64-nocm"
config.vm.communicator = "winrm"
config.vm.guest = :windows
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
config.vm.provision "file" do |f|
f.source = "~/.gitconfig"
f.destination = "~/"
end
config.vm.provision "shell" do |s|
s.inline = "cd C:/inetpub/wwwroot/"
end
config.vm.provision "shell" do |s|
s.inline = "git clone git@github.com:pawelsawicz/TestSite.git"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment