-
-
Save chusiang/e385d2fd44bce968e3b10dd8f24fa551 to your computer and use it in GitHub Desktop.
Ansible (Windows) Vagrantfile Template - https://atlas.hashicorp.com/chusiang/boxes/win10-x64-ansible
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 : | |
=begin | |
The Vagrantfile template is fork from https://gist.github.com/joepurdy/28b894574cee15344918. | |
# Ansible (Windows) VMs | |
config.vm.box = "chusiang/win10-x64-ansible" | |
# System Account Credentials | |
- Username: IEUser | |
- Password: Passw0rd! | |
=end | |
Vagrant.configure("2") do |config| | |
config.vm.box = "chusiang/win10-x64-ansible" | |
config.vm.network "forwarded_port", guest: 3389, host: 3389 | |
config.vm.provider "virtualbox" do |vb| | |
vb.customize ["modifyvm", :id, "--memory", "1024"] | |
vb.customize ["modifyvm", :id, "--vram", "128"] | |
vb.customize ["modifyvm", :id, "--cpus", "2"] | |
vb.customize ["modifyvm", :id, "--natdnsproxy1", "on"] | |
vb.customize ["modifyvm", :id, "--natdnshostresolver1", "on"] | |
vb.customize ["guestproperty", "set", :id, "/VirtualBox/GuestAdd/VBoxService/--timesync-set-threshold", 10000] | |
end | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment