Skip to content

Instantly share code, notes, and snippets.

@dvanbrug
dvanbrug / Vagrantfile
Last active April 6, 2020 15:00
Example Vagrantfile for Windows support
Vagrant.configure("2") do |config|
config.vm.box = "google/gce"
# You can customize any of the winrm settings available in Vagrant
# however, these are the required ones to work with default public Windows images
config.vm.communicator = "winrm"
config.winrm.port = '5896'
config.winrm.transport = 'negotiate'
config.winrm.username = 'WINRM_USERNAME'
config.winrm.password = 'WINRM_PASSWORD'