-
Notifications
You must be signed in to change notification settings - Fork 17
Open
Description
Expected Behaviour
Windows 2019 image builds successfully
Current Behaviour
Build fails after 8 minutes with ansible error
==> qemu: Running local shell script: /tmp/packer-shell2452460422
qemu:
qemu: PLAY [all] *********************************************************************
qemu:
qemu: TASK [Gathering Facts] *********************************************************
qemu: Monday 11 September 2023 20:33:21 +0000 (0:00:00.008) 0:00:00.008 ******
qemu: fatal: [127.0.0.1]: FAILED! => {"msg": "winrm or requests is not installed: No module named 'winrm'"}
qemu:
qemu: PLAY RECAP *********************************************************************
qemu: 127.0.0.1 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0
qemu:
qemu: Monday 11 September 2023 20:33:21 +0000 (0:00:00.025) 0:00:00.033 ******
qemu: ===============================================================================
qemu: Gathering Facts --------------------------------------------------------- 0.03s
==> qemu: Provisioning step had errors: Running the cleanup provisioner, if present...
==> qemu: Deleting output directory...
Build 'qemu' errored after 8 minutes 43 seconds: Script exited with non-zero exit status: 2. Allowed exit codes are: [0]```
## Possible Solution
<!--- Not obligatory, but suggest a fix/reason for the bug, -->
<!--- or ideas how to implement the addition or change -->
## Steps to Reproduce (for bugs)
Build Windows 2019
## Context
<!--- How has this issue affected you? What are you trying to accomplish? -->
<!--- Providing context helps us come up with a solution that is most useful in the real world -->
## Your Environment
Ubuntu 22.04 bare metal host
Metadata
Metadata
Assignees
Labels
No labels