2015-08-28 11:26:40 -04:00
|
|
|
{
|
2016-01-15 11:21:32 +02:00
|
|
|
"command": "/usr/sbin/in.tftpd --verbose --foreground --user root --address 0.0.0.0:69 --map-file /map-file /tftpboot",
|
2017-01-13 15:19:20 -03:00
|
|
|
"config_files": [
|
2017-02-21 19:22:28 +00:00
|
|
|
{% if groups['ironic-inspector'] | length > 0 %}
|
2017-01-13 15:19:20 -03:00
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/ironic-agent.kernel",
|
|
|
|
"dest": "/tftpboot/ironic-agent.kernel",
|
|
|
|
"owner": "root",
|
2017-06-30 18:15:49 +01:00
|
|
|
"perm": "0644"
|
2017-01-13 15:19:20 -03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/ironic-agent.initramfs",
|
|
|
|
"dest": "/tftpboot/ironic-agent.initramfs",
|
|
|
|
"owner": "root",
|
2017-06-30 18:15:49 +01:00
|
|
|
"perm": "0644"
|
2017-01-13 15:19:20 -03:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"source": "{{ container_config_directory }}/default",
|
|
|
|
"dest": "/tftpboot/pxelinux.cfg/default",
|
|
|
|
"owner": "root",
|
2017-06-30 18:15:49 +01:00
|
|
|
"perm": "0644"
|
2017-01-13 15:19:20 -03:00
|
|
|
}
|
2017-02-21 19:22:28 +00:00
|
|
|
{% endif %}
|
2017-04-25 12:57:01 +01:00
|
|
|
],
|
|
|
|
"permissions": [
|
|
|
|
{
|
|
|
|
"path": "/tftpboot/pxelinux.cfg",
|
|
|
|
"owner": "ironic:ironic",
|
|
|
|
"recurse": true
|
|
|
|
}
|
2017-01-13 15:19:20 -03:00
|
|
|
]
|
2015-08-28 11:26:40 -04:00
|
|
|
}
|