Last active
August 29, 2015 14:24
-
-
Save pratikmallya/3af2a23f46ae820db72c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
heat_template_version: 2014-10-16 | |
description: | | |
Creating Rackspace cloud server with user_data. | |
resources: | |
test_server: | |
type: "OS::Nova::Server" | |
properties: | |
name: test-server | |
admin_pass: password1 | |
flavor: 2 GB General Purpose v1 | |
image: Debian 7 (Wheezy) (PVHVM) | |
user_data_format: RAW | |
user_data: | | |
#!/bin/bash -x | |
echo "hello world" > /root/hello-world.txt | |
signal_handle: | |
type: "OS::Heat::SwiftSignalHandle" | |
outputs: | |
server_ip: | |
value: | |
get_attr: [test_server, accessIPv4] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment