X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=firstboot%2Fuserdata_heat_admin.yaml;h=5223f939137a4fc885a840405ee035cf23de3a84;hb=37447494de7380409f4461835a2b1882ead37985;hp=73481c63378f356a38fdf6ab6cdaaf6d74978ea6;hpb=dca894b410d63c67ab6e3ee2814a985a43274b82;p=apex-tripleo-heat-templates.git diff --git a/firstboot/userdata_heat_admin.yaml b/firstboot/userdata_heat_admin.yaml index 73481c63..5223f939 100644 --- a/firstboot/userdata_heat_admin.yaml +++ b/firstboot/userdata_heat_admin.yaml @@ -1,11 +1,15 @@ -heat_template_version: 2014-10-16 +heat_template_version: pike parameters: - # Can be overriden via parameter_defaults in the environment + # Can be overridden via parameter_defaults in the environment node_admin_username: type: string default: heat-admin + node_admin_extra_ssh_keys: + type: comma_delimited_list + default: [] + description: > Uses cloud-init to create an additional user with a known name, in addition to the distro-default user created by the cloud-init default. @@ -23,6 +27,8 @@ resources: properties: cloud_config: user: {get_param: node_admin_username} + ssh_authorized_keys: {get_param: node_admin_extra_ssh_keys} + outputs: OS::stack_id: