If you've added some runcmd lines to your cloud-init config, and the commands don't seem to be executing, here's a few things you should know:
runcmdonly has code to "shellify" your strings or array of strings (i.e: turns them into a shell script)runcmdwill only write a shell script into the file/var/lib/cloud/instance/scripts/runcmdruncmdis part of thecloud_config_modulesboot stage- You need to
executethat runcmd shell script using thescripts-usermodule scripts-useris part of thecloud_final_modulesboot stage