Created
July 30, 2014 14:16
-
-
Save pawelsawicz/0e863f1aa10a7aa2a7cb to your computer and use it in GitHub Desktop.
vagrand
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- 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