Hello,
I’m currently automating my dietpi build, but I’m having trouble with the dietpi.txt file and the script. I’m hosting my shell on gitblit. On first boot, I get the message “url using bad/illegal format or missing url,” but later, when I run the exact curl, it works.
Though from the log, the URL actually looks good. It is also quoted within our script to avoid any unintended special character handling.
Not sure if this is some formatting issue, but it looks like there is one space too much between curl flags and URL: -sSfL http. Can you show the the dietpi.txt entry? There must not be any space after AUTO_SETUP_CUSTOM_SCRIPT_EXEC=. Actually a bit strict and we could strip white spaces at start and end of config values .
The script is not the issue, but the URL that points to the script was not accepted by curl, hence my suggestion to check the dietpi.txt entry for white spaces.