If first boot has been completed prior to cloning, then yes, this is included in the cloned image, and in any system flashed with that image. You could go even further, and complete “
sudo apt update” and “
sudo apt-get upgrade”. You could install custom software too if desired, or standard NVIDIA optional packages, such as CUDA.
Some content may be tied to the specific Jetson, e.g., some network software might look for a specific MAC address, and it would be an error to transfer this to all Jetsons during flash (this would be rare though).
l4t_create_default_user.sh could be modified to do nothing more than change the created user’s password (assuming the account already exists, then you wouldn’t want to try to create it again), and perhaps log the password for documentation to ship. Then setup would be complete, but each Jetson would have its own password, and no longer be considered a “default” password (it would be illegal to set a default password when shipped to California).
I have not used mass flash though, so I can’t claim to have tested the mass flash variation of this.
I have not explored this much, but on a running Jetson, you might be interested in: