Possible to make customized "flasher" image?

I tried this solution.

I disable line 6, 12 and from 37 to 44.

The script work , but reports “invalid password debian.debian”

and many strings “log: [Running: ./publish/respeaker.io_stable.sh]”



How this resolve ?