-
-
Save UtahDave/5725b2a2e91dbdff99e4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
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 |
This file contains hidden or 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_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