1 2 3 4 5 6 7 8 9 10 11 12 13 14
resources: my_instance: type: OS::Nova::Server properties: key_name: mykey image: ubuntu flavor: m1.large userdata: str_replace: template: | #!/bin/bash echo "Hello world" echo "Setting MySQL root password" # do more things ...