Parameterise cloud-init
Rather than running sed over the output of the cloud-init generator, parameterise it instead. This is cleaner, but also allows us to eventually replace the shell script with a Python script calling the Packet API directly, which will in turn allow us to do things like wait on the instance to come alive, spit out its IP address, etc.