Cloud-config arguments to services?

Well I’m trying to figure out where to write a startup script that is executed before the user-docker, but I asked in a separate thread.