Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Bob Tanner
packer-windows
Commits
ba4cd895
Commit
ba4cd895
authored
Aug 28, 2017
by
Stefan Scherer
Committed by
GitHub
Aug 28, 2017
Browse files
Merge pull request #38 from PatrickLang/insider-hyperv
Updating Windows 10 insider scripts for Hyper-V
parents
461521f6
51ecb236
Changes
2
Show whitespace changes
Inline
Side-by-side
vagrantfile-windows_10.template
View file @
ba4cd895
...
...
@@ -55,4 +55,10 @@ Vagrant.configure("2") do |config|
v
.
vmx
[
"scsi0.virtualDev"
]
=
"lsisas1068"
v
.
enable_vmrun_ip_lookup
=
false
end
config
.
vm
.
provider
"hyperv"
do
|
v
|
v
.
cpus
=
2
v
.
maxmemory
=
2048
v
.
differencing_disk
=
true
end
end
windows_10_insider.json
View file @
ba4cd895
...
...
@@ -79,6 +79,36 @@
"2"
]
]
},
{
"type"
:
"hyperv-iso"
,
"communicator"
:
"winrm"
,
"iso_url"
:
"{{user `iso_url`}}"
,
"iso_checksum_type"
:
"{{user `iso_checksum_type`}}"
,
"iso_checksum"
:
"{{user `iso_checksum`}}"
,
"boot_wait"
:
"0s"
,
"guest_additions_mode"
:
"disable"
,
"winrm_username"
:
"vagrant"
,
"winrm_password"
:
"vagrant"
,
"winrm_timeout"
:
"2h"
,
"shutdown_command"
:
"shutdown /s /t 10 /f /d p:4:1 /c
\"
Packer Shutdown
\"
"
,
"disk_size"
:
"{{user `disk_size`}}"
,
"floppy_files"
:
[
"{{user `autounattend`}}"
,
"./floppy/WindowsPowershell.lnk"
,
"./floppy/PinTo10.exe"
,
"./scripts/fixnetwork.ps1"
,
"./scripts/disable-screensaver.ps1"
,
"./scripts/disable-winrm.ps1"
,
"./scripts/enable-winrm.ps1"
,
"./scripts/microsoft-updates.bat"
,
"./scripts/win-updates.ps1"
],
"ram_size"
:
2048
,
"cpu"
:
2
,
"switch_name"
:
"{{user `hyperv_switchname`}}"
,
"enable_secure_boot"
:
true
,
"enable_virtualization_extensions"
:
true
}
],
"provisioners"
:
[
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment