Commit 6a251578 authored by Patrick Lang's avatar Patrick Lang

Updating windows_server_insider_docker.json to Hyper-V generation 2

parent f96457e3
......@@ -138,6 +138,8 @@ You then can use this box with Vagrant to spin up a Hyper-V VM.
Some of these images use Hyper-V "Generation 2" VMs to enable the latest features and faster booting. However, an extra manual step is needed to put the needed files into ISOs because Gen2 VMs don't support virtual floppy disks.
- `windows_server_insider.json`
- `windows_server_insider_docker.json`
- `windows_10_insider.json`
Before running `packer build`, be sure to run `./make_unattend_iso.ps1` first. Otherwise the build will fail on a missing ISO file
......
{
"builders": [
{
"boot_wait": "60s",
"boot_command": [
"<enter>"
],
"boot_wait": "1s",
"communicator": "winrm",
"cpu": 2,
"disk_size": "{{user `disk_size`}}",
"enable_secure_boot": true,
"enable_virtualization_extensions": true,
"floppy_files": [
"{{user `autounattend`}}",
"./scripts/disable-screensaver.ps1",
"./scripts/disable-winrm.ps1",
"./scripts/enable-winrm.ps1"
"generation": 2,
"secondary_iso_images": [
"./iso/windows_server_insider_unattend.iso"
],
"guest_additions_mode": "disable",
"iso_checksum": "{{user `iso_checksum`}}",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment