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
parent 187d0a8558
commit df28846c4a

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: