Skip to content

Windows could not apply the unattend answer file's <DiskConfiguration> setting. #9

Description

@Metaspace2

I get this when attempting to create a vmware-iso using
packer build -force -only vmware-iso .\vmware-windows-2016-serverstandard-amd64.json.

I attach VMWare to the packer VM "windows2016", where I see a Windows setup window, and a dilaog box displaying the error message from the subject.
Packer itself hangs while "Waiting for WinRM to become available...".

I am running on a Windows 8.1 machine, VMWare 11.1.4.

This is the packer output:
==> vmware-iso: Downloading or copying ISO
vmware-iso: Downloading or copying: http://care.dlservice.microsoft.com/dl/download/1/6/F/16FA20E6-4662-482A-920B-1A45CF5AAE3C/14393.0.160715-1616.RS1_RELEASE_SERVER_EVAL_X64FRE_EN-US.ISO
==> vmware-iso: Creating floppy disk...
vmware-iso: Copying files flatly from floppy_files
vmware-iso: Copying file: ./windows/windows-2016-serverstandard-amd64/autounattend.xml
vmware-iso: Copying file: ./windows/windows-2016-serverstandard-amd64/sysprep-unattend.xml
vmware-iso: Copying file: ./windows/common/variables.ps1
vmware-iso: Copying file: ./windows/common/set-power-config.ps1
vmware-iso: Copying file: ./windows/common/microsoft-updates.ps1
vmware-iso: Copying file: ./windows/common/win-updates.ps1
vmware-iso: Copying file: ./windows/common/run-sysprep.ps1
vmware-iso: Copying file: ./windows/common/run-sysprep.cmd
vmware-iso: Copying file: ./windows/common/enable-winrm.ps1
vmware-iso: Copying file: ./windows/common/enable-winrm.task.ps1
vmware-iso: Copying file: ./windows/common/fixnetwork.ps1
vmware-iso: Copying file: ./windows/common/elevate.exe
vmware-iso: Copying file: ./windows/common/sdelete.exe
vmware-iso: Copying file: ./windows/common/sdelete.ps1
vmware-iso: Copying file: ./windows/common/Set-ClientWSUSSetting.ps1
vmware-iso: Copying file: ./windows/common/Set-ClientWSUSSetting.task.ps1
vmware-iso: Done copying files from floppy_files
vmware-iso: Collecting paths from floppy_dirs
vmware-iso: Resulting paths from floppy_dirs : []
vmware-iso: Done copying paths from floppy_dirs
==> vmware-iso: Creating virtual machine disk
==> vmware-iso: Building and writing VMX file
==> vmware-iso: Starting HTTP server on port 8433
==> vmware-iso: Starting virtual machine...
vmware-iso: The VM will be run headless, without a GUI. If you want to
vmware-iso: view the screen of the VM, connect via VNC with the password "PCiPGfIH" to
vmware-iso: vnc://127.0.0.1:5924
==> vmware-iso: Waiting 5s for boot...
==> vmware-iso: Connecting to VM via VNC
==> vmware-iso: Typing the boot command over VNC...
==> vmware-iso: Waiting for WinRM to become available...

Please find the packer log file attached: Log.zip

I saw that in the windows\windows-2016-serverstandard-amd64\Autounattend.xml file there is a commented-out Non-UEFI ; I tried to use that in place of the commented-in UEFI compatible, but with the same result.

I also tried to use "scsi0.virtualDev": "lsisas1068", instead of "scsi0.virtualDev": "pvscsi" in the json file (fixing this error message for other packer scripts), but no effect. I combined this two measures, no effect.

Help would be appreciated!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions