kolla-ansible/ansible/roles/ironic/templates/ironic-conductor.json.j2
Will Szumski 0a1ccc2612 Add support for enabling ipxe boot with ironic
When enable_ironic_ipxe is set in /etc/kolla/globals.yml,
the following happens:

- a new docker container, ironic_ipxe, is created. This contains
  an apache webserver used to serve up the boot images
- ironic is configured to use ipxe

Change-Id: I08fca1864a00afb768494406c49e968920c83ae7
Implements: blueprint ironic-ipxe
2018-05-25 08:20:47 +00:00

40 lines
1.0 KiB
Django/Jinja

{
"command": "ironic-conductor",
"config_files": [
{
"source": "{{ container_config_directory }}/ironic.conf",
"dest": "/etc/ironic/ironic.conf",
"owner": "ironic",
"perm": "0600"
}{% if ironic_policy_file is defined %},
{
"source": "{{ container_config_directory }}/{{ ironic_policy_file }}",
"dest": "/etc/ironic/{{ ironic_policy_file }}",
"owner": "ironic",
"perm": "0600"
}{% endif %}
],
"permissions": [
{
"path": "/var/log/kolla/ironic",
"owner": "ironic:ironic",
"recurse": true
},
{
"path": "/var/lib/ironic",
"owner": "ironic:ironic",
"recurse": true
},
{
"path": "/tftpboot",
"owner": "ironic:ironic",
"recurse": true
},
{
"path": "/httpboot",
"owner": "ironic:ironic",
"recurse": true
}
]
}