heat-translator/translator/tests/data/hot_output/hot_single_server_without_tosca_os_version.yaml
Bob HADDLETON 1c4bfec4d5 Remove default key_name property and pass through all others
- Remove the default "key_name: userkey" property which prevents
  the user from specifying their own key name

  - Handle all properties of the Compute node as Server properties
    and remove the special cases for image and flavor as they will
    now be handled by default

  - Support 'key_name' as a parameter which will be added as an
    input parameter to the HOT template and as a property to all
    Compute nodes, referencing the input parameter so it can be
    overridden at stack deployment time.

Change-Id: I6ae89e02642348074a92f9af638f43acd887ad91
Closes-Bug: 1544237
2016-02-23 03:35:02 -06:00

18 lines
562 B
YAML

heat_template_version: 2013-05-23
description: >
TOSCA simple profile that just defines a single compute instance and selects a
flavor and host Operating System for the Compute node. Note, this is just a test
template showing Compute without optional 'version' property of OS capability.
In general, you should have version to narrow down your image selection.
parameters: {}
resources:
my_server:
type: OS::Nova::Server
properties:
flavor: m1.medium
image: rhel-6.5-test-image
user_data_format: SOFTWARE_CONFIG
outputs: {}