927495fe3d
The new master branch should point now to queens instead of pike. So, HOT templates should specify that they might contain features for queens release [1] [1]: https://docs.openstack.org/heat/latest/template_guide/hot_spec.html#queens Change-Id: I7654d1c59db0c4508a9d7045f452612d22493004
39 lines
937 B
YAML
39 lines
937 B
YAML
heat_template_version: queens
|
|
|
|
description: >
|
|
Uses cloud-init to enable root logins and set the root password.
|
|
Note this is less secure than the default configuration and may not be
|
|
appropriate for production environments, it's intended for illustration
|
|
and development/debugging only.
|
|
|
|
parameters:
|
|
NodeRootPassword:
|
|
description: Root password for the nodes
|
|
hidden: true
|
|
type: string
|
|
|
|
resources:
|
|
userdata:
|
|
type: OS::Heat::MultipartMime
|
|
properties:
|
|
parts:
|
|
- config: {get_resource: root_config}
|
|
|
|
root_config:
|
|
type: OS::Heat::CloudConfig
|
|
properties:
|
|
cloud_config:
|
|
ssh_pwauth: true
|
|
disable_root: false
|
|
chpasswd:
|
|
list:
|
|
str_replace:
|
|
template: "root:PASSWORD"
|
|
params:
|
|
PASSWORD: {get_param: NodeRootPassword}
|
|
expire: False
|
|
|
|
outputs:
|
|
OS::stack_id:
|
|
value: {get_resource: userdata}
|