{ "variables": { "iso_path": "{{env `ISO_PATH`}}" }, "builders": [ { "type": "virtualbox-iso", "name": "image-management-base", "vm_name": "image-management-base", "iso_url": "D:/iso/en_windows_10_business_editions_version_1903_updated_july_2019_x64_dvd_97049592.iso", "iso_checksum_type": "md5", "iso_checksum": "ddc5c5f376d73193fbb985e056c39a2f", "iso_interface": "sata", "headless": "false", "boot_wait": "30s", "boot_command": [ "fs2:\\EFI\\BOOT\\BOOTX64.efi", "", "", "", "", "", "" ], "ssh_username": "vagrant", "ssh_password": "vagrant", "ssh_wait_timeout": "10h", "shutdown_command": "shutdown /s /t 10 /f /d p:4:1 /c \"Packer Shutdown\"", "guest_os_type": "Windows10_64", "disk_size": "100000", "hard_drive_interface": "sata", "floppy_files": [ "./scripts/fixnetwork.ps1", "./scripts/openssh.ps1", "./scripts/win-updates.ps1" ], "vboxmanage": [ [ "modifyvm", "{{.Name}}", "--memory", "2048", "--firmware", "efi" ], [ "modifyvm", "{{.Name}}", "--cpus", "2" ], [ "storagectl", "{{.Name}}", "--name", "SATA Controller", "--portcount", "4" ], [ "storageattach", "{{.Name}}", "--storagectl", "SATA Controller", "--port", "3", "--device", "0", "--type", "dvddrive", "--medium", "./iso/unattend.iso" ] ] } ], "provisioners": [ { "type": "powershell", "scripts": [ "./scripts/install-chocolatey.ps1" ] }, { "type": "windows-restart" } ], "post-processors": [ ] }