Create a switch that drops the user in a shell at the point where the userpatches/customize-image.sh script usually would kick in.
Create a shell script from the users customization by simply recording any command the users executes and copy into a file which is provided to the users as soon as the user exists and the build is complete.