windows11 machine creation fails due to chocolatey waiting for input
When trying to run build on windows11 guest for the first time it hangs while waiting for user input. There seems to be no way to provide that input though:
% minicoin run build windows11 --target Core
...
==> windows11: Running provisioner: windows-tools:script (shell)...
windows11: Running: /home/iemeshch/repos/minicoin/minicoin/roles/windows-tools/provision.ps1 as c:\Windows\temp\provision_windows-tools.ps1
windows11: Upgrade Chocolatey . . .
windows11: Chocolatey v0.10.15
windows11: Upgrading the following packages:
windows11: chocolatey
windows11: By upgrading you accept licenses for the packages.
windows11: You have chocolatey v0.10.15 installed. Version 0.11.1 is available based on your source(s).
Progress: Downloading chocolatey 0.11.1... 100%
windows11: chocolatey v0.11.1
windows11: chocolatey package files upgrade completed. Performing other installation steps.
windows11: The package chocolatey wants to run 'chocolateyInstall.ps1'.
windows11: Note: If you don't run this script, the installation will fail.
windows11: Note: To confirm automatically next time, use '-y' or consider:
windows11: choco feature enable -n allowGlobalConfirmation
windows11: Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint):