From df28846c4a1fa4165d544180b81ecb6545000fd9 Mon Sep 17 00:00:00 2001 From: Steve McLellan Date: Fri, 2 May 2014 18:15:54 -0500 Subject: [PATCH] Add KeyName to Instance heat template Adds an ssh keyname if specified to the Heat template; it is optional and defaults to null. Change-Id: Id80cf403f834a9ed8d3a0660a2687ab17ddb0f6d --- meta/io.murano/Classes/resources/Instance.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/meta/io.murano/Classes/resources/Instance.yaml b/meta/io.murano/Classes/resources/Instance.yaml index 66d40168..4465e131 100644 --- a/meta/io.murano/Classes/resources/Instance.yaml +++ b/meta/io.murano/Classes/resources/Instance.yaml @@ -14,6 +14,10 @@ Properties: Contract: $.string().notNull() image: Contract: $.string().notNull() + keyname: + Contract: $.string() + Default: null + agent: Contract: $.class(sys:Agent) Usage: Runtime @@ -62,6 +66,8 @@ Workflow: InstanceType: $.flavor ImageId: $.image UserData: $userData + KeyName: $.keyname + Outputs: format('{0}-PublicIp', $.name): Value: