Created
March 29, 2016 15:06
-
-
Save mcallaway/f9aa9bd9bd34af48d505 to your computer and use it in GitHub Desktop.
This file contains hidden or 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: 2013-05-23 | |
resources: | |
server_port: | |
type: OS::Neutron::Port | |
properties: | |
network: "development" | |
fixed_ips: | |
- subnet: "development-subnet" | |
floating_ip: | |
type: OS::Neutron::FloatingIP | |
properties: | |
floating_network: "external" | |
port_id: { get_resource: server_port } | |
server_cluster: | |
type: OS::Heat::ResourceGroup | |
properties: | |
count: 1 | |
resource_def: | |
type: OS::Nova::Server | |
properties: | |
# Add name and this works. Without name, a name is | |
# auto-generated, and user-data does not apply. | |
#name: "coreos-server-%index%" | |
flavor: "m1.small" | |
#image: "CoreOS-835.9.0" | |
#image: "cirros-0.3.4-x86_64" | |
# Use a snapshot with root's password set | |
image: "coreos-snapshot" | |
key_name: "csa-ostack" | |
config_drive: true | |
networks: | |
- port: { get_resource: server_port } | |
user_data_format: RAW | |
user_data: | | |
#cloud-config | |
users: | |
- name: "root" | |
passwd: "$1$1ZVygQax$gVKfLFBHHxoh63PMFM5kP/" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Filed this:
https://bugs.launchpad.net/heat/+bug/1563402
Workaround for my case: