-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathVagrantfile.win10.deps
46 lines (34 loc) · 1.05 KB
/
Vagrantfile.win10.deps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# -*- mode: ruby -*-
# vi: set ft=ruby :
Vagrant.configure("2") do |config|
config.vm.box = "win10"
config.vm.define "win10"
config.vm.box_check_update = false
config.vm.guest = :windows
config.vm.communicator = "winrm"
config.vm.boot_timeout = 600 # 10 mins
config.winrm.username = "IEUser"
config.winrm.password = "Passw0rd!"
config.winrm.timeout = 600 # 10 mins
config.ssh.username = "IEUser"
#config.ssh.password = "Passw0rd!"
#config.ssh.insert_key = true
config.vm.network :forwarded_port, guest: 5985, host: 5985, id: "winrm", auto_correct: true
config.vm.provider "virtualbox" do |vb|
vb.gui = true
vb.cpus = 2
vb.memory = 4096
vb.customize ["modifyvm", :id, "--vram", "128"]
end
config.vm.provision "shell",
binary: true,
privileged: true,
path: "./windows/bootstrap-deps.ps1"
config.vm.provision "shell",
binary: true,
privileged: true,
path: "./windows/bootstrap-sshd.ps1"
config.vm.provision "file",
source: "./windows/sshd_default_shell.cmd",
destination: "/msys64/"
end