Closed dfiel closed 3 years ago
Found the problem again in the EXPORT-IMAGES stage. Fixed it with a second commit. I have also confirmed that the FIRST_USER_NAME environmental variable is set to pi by default, so this is a sane configuration change
Found yet another place where the "pi" username is hardcoded
If one changes FIRST_USER_NAME in the config file to something other than pi, stage 4 will fail due to the hardcoding of the pi username. This PR changes the hardcoded pi username to reference the FIRST_USER_NAME variable. I have tested that this works in my own independent image. I am not sure if FIRST_USER_NAME is set to pi if it is unset in the config, if not that will have to be added.