I can’t create a deliberate failure in a Packer script using a Docker builder and a Powershell provisioner. All the provisioner contains is an inline “exit 1” call. I’m trying to get a simple example so I can understand how to get a more complex example to fail when the more complex Powershell calls fail.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
PowerShell provisioner not fail on disconnect? | 1 | 465 | October 20, 2021 | |
Letting Packer fail during provision | 3 | 1293 | October 1, 2022 | |
Packer Build Failing SQL 2014 .\SETUP.EXE exited with error code -2068774911 Azure | 0 | 891 | May 17, 2021 | |
Packer Build Failing with SQL 2014 .\SETUP.EXE exited with error code -2068774911 Azure | 0 | 770 | May 17, 2021 | |
Documentation around Packer for Docker builds is frustratingly lacking | 4 | 619 | March 4, 2021 |