952b53089b
The idea is to factor out a role for deploying Nova related services to cells. Since all deployments use cells, this role can be used in both regular deployments which have just cell0 and cell1, and deployments with many cells. Partially Implements: blueprint support-nova-cells Change-Id: Ib1f36ec0a773c384f2c1eac1843782a3e766045a
30 lines
848 B
Django/Jinja
30 lines
848 B
Django/Jinja
{
|
|
"command": "/usr/sbin/sshd -D",
|
|
"config_files": [
|
|
{
|
|
"source": "{{ container_config_directory }}/sshd_config",
|
|
"dest": "/etc/ssh/sshd_config",
|
|
"owner": "root",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ssh_config",
|
|
"dest": "/var/lib/nova/.ssh/config",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/id_rsa",
|
|
"dest": "/var/lib/nova/.ssh/id_rsa",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/id_rsa.pub",
|
|
"dest": "/var/lib/nova/.ssh/authorized_keys",
|
|
"owner": "nova",
|
|
"perm": "0600"
|
|
}
|
|
]
|
|
}
|