Last active
September 28, 2020 14:40
-
-
Save jpogran/54f2a892641e078ce5bba3555b4e16a1 to your computer and use it in GitHub Desktop.
Windows vagrant file
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 : | |
Vagrant.configure("2") do |config| | |
config.vm.box = "gusztavvargadr/windows-server" | |
config.vm.provider "hyperv" do |hv, override| | |
hv.cpus = 2 | |
hv.memory = 2048 | |
hv.linked_clone = true | |
hv.enable_virtualization_extensions = true | |
hv.vm_integration_services = { | |
guest_service_interface: true, | |
heartbeat: true, | |
key_value_pair_exchange: true, | |
shutdown: true, | |
time_synchronization: true, | |
vss: true | |
} | |
override.vm.network "public_network", bridge: 'Default Switch' | |
override.vm.synced_folder '.', '/vagrant', | |
type: 'smb', | |
smb_username: 'vagrant', | |
smb_password: 'vagrant' | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment