Skip to content

Instantly share code, notes, and snippets.

@UtahDave
Forked from mwrock/Vagrantfile
Created August 9, 2014 20:10
Show Gist options
  • Save UtahDave/5725b2a2e91dbdff99e4 to your computer and use it in GitHub Desktop.
Save UtahDave/5725b2a2e91dbdff99e4 to your computer and use it in GitHub Desktop.
cinst vagrant
git clone -b smb_sync https://github.com/mwrock/vagrant
copy-item vagrant\lib C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.6.3 -recursive -force
copy-item vagrant\plugins C:\HashiCorp\Vagrant\embedded\gems\gems\vagrant-1.6.3 -recursive -force
# Assuming the above Vagrant file is in the current directory
vagrant up
# -*- mode: ruby -*-
# vi: set ft=ruby :
VAGRANTFILE_API_VERSION = "2"
Vagrant.configure(VAGRANTFILE_API_VERSION) do |config|
config.vm.box = "mwrock/Windows2012R2"
config.vm.box_url = "https://vagrantcloud.com/mwrock/Windows2012R2/version/1/provider/hyperv.box"
# Change "." to a local folder you want to sync
config.vm.synced_folder ".", "/chocolateypackages", disabled: true
config.vm.guest = :windows
config.vm.communicator = "winrm"
config.winrm.username = "administrator"
config.winrm.password = "Pass@word1"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment