StefanScherer / packer-windows

Windows Templates for Packer: Windows 11, Windows 10, Windows Server 2022, 2019, 2016, also with Docker
MIT License
1.29k stars 434 forks source link

Building windows_2019_docker with Parallels #320

Open Techbrunch opened 2 years ago

Techbrunch commented 2 years ago

I'm trying to build windows_2019_docker on a MacBook Pro M1 but it's stuck on ==> parallels-iso: Waiting for WinRM to become available...

Vagrant 2.3.0 Version 17.1.4 (51567)

❯ packer build --only=parallels-iso windows_2019_docker.json
parallels-iso: output will be in this color.

==> parallels-iso: Retrieving ISO
==> parallels-iso: Trying https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso
==> parallels-iso: Trying https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso?checksum=sha256%3A549bca46c055157291be6c22a3aaaed8330e78ef4382c99ee82c896426a1cee1
==> parallels-iso: https://software-download.microsoft.com/download/pr/17763.737.190906-2324.rs5_release_svc_refresh_SERVER_EVAL_x64FRE_en-us_1.iso?checksum=sha256%3A549bca46c055157291be6c22a3aaaed8330e78ef4382c99ee82c896426a1cee1 => /Users/aloha/.cache/packer/e713134d34c0e6b17c2bb255d974420ddabd776d.iso
==> parallels-iso: Creating floppy disk...
    parallels-iso: Copying files flatly from floppy_files
    parallels-iso: Copying file: ./answer_files/2019_core/Autounattend.xml
    parallels-iso: Copying file: ./scripts/disable-screensaver.ps1
    parallels-iso: Copying file: ./scripts/disable-winrm.ps1
    parallels-iso: Copying file: ./scripts/docker/enable-winrm.ps1
    parallels-iso: Copying file: ./scripts/docker/2016/install-containers-feature.ps1
    parallels-iso: Copying file: ./scripts/microsoft-updates.bat
    parallels-iso: Copying file: ./scripts/win-updates.ps1
    parallels-iso: Done copying files from floppy_files
    parallels-iso: Collecting paths from floppy_dirs
    parallels-iso: Resulting paths from floppy_dirs : []
    parallels-iso: Done copying paths from floppy_dirs
    parallels-iso: Copying files from floppy_content
    parallels-iso: Done copying files from floppy_content
==> parallels-iso: Creating virtual machine...
==> parallels-iso: Applying default settings...
==> parallels-iso: Creating hard drive...
==> parallels-iso: Setting the boot order...
==> parallels-iso: Attaching ISO to the default CD/DVD ROM device...
==> parallels-iso: Deleting any current floppy disk...
==> parallels-iso: Attaching floppy disk...
==> parallels-iso: Executing custom prlctl commands...
    parallels-iso: Executing: prlctl set WindowsServer2019Docker --adaptive-hypervisor on
    parallels-iso: Executing: prlctl set WindowsServer2019Docker --efi-boot off
==> parallels-iso: Starting the virtual machine...
==> parallels-iso: Waiting 2m0s for boot...
==> parallels-iso: Host IP for the Parallels machine: 192.168.1.99
==> parallels-iso: Typing the boot command...
==> parallels-iso: Waiting for WinRM to become available...

Screen Shot 2022-09-09 at 17 20 05

Screen Shot 2022-09-09 at 17 20 13