Using packer version 1.10 and the base install using the iso is something I do rarely as problems like this are slow to troubleshoot. The install hangs at subiquity/install/install/postinstall/run_unattended_upgrades/cmd-in-target.
I have tried disabling the upgrades in the user-data but I cant tell if it is working. It hangs for over an hour and I give up.
Since every install test is 30 minutes minimum , it is slow going trying different things in the user-data file.
Does anyone have a user-data and json file that have worked with VMworkstation?
I have got this to work in the past with older versions of packer and ubuntu.
Here is the file that ended up working but another major issue I had was the RAM.
My old builders were for a 1024 , upped it to 4096 and not only was the build working (or failing) much faster it end the end allowed all the updates to work as well.