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
This commit is contained in:
Steve McLellan 2014-05-02 18:15:54 -05:00 committed by Ruslan Kamaldinov
parent a671a8b4f3
commit 88915b6cbb
1 changed files with 6 additions and 0 deletions

View File

@ -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: