Skip to content

Instantly share code, notes, and snippets.

/test.hot Secret

Created December 20, 2016 09:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/bbce449fa94b8190abe4a8744586ca3c to your computer and use it in GitHub Desktop.
Save anonymous/bbce449fa94b8190abe4a8744586ca3c to your computer and use it in GitHub Desktop.
################################################################################
heat_template_version: 2015-10-15
################################################################################
description: >
Simple template to deploy a single instance with the OpenStack CLI tools
################################################################################
resources:
#----------------------------------------------------------------------------#
openstack_client:
type: OS::Nova::Server
properties:
key_name: adminsshkey
image: ubuntu-trusty
flavor: m1.small
user_data:
get_file: scripts/provision-openstack-client.sh
networks:
- network: intmgmt_net
################################################################################
outputs:
openstack_client_instance_ip:
description: IP address of OpenStack client
value: { get_attr: [openstack_client, first_address] }
################################################################################
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment