9ba235f0ce
The pxelinux.cfg directory gets created but isn't owned by the correct user. This patch ensures that the permissions are correctly updated. Change-Id: Ifcb80018b72d40c5d4eccf059d1c3442b71be6f8
33 lines
992 B
Django/Jinja
33 lines
992 B
Django/Jinja
{
|
|
"command": "/usr/sbin/in.tftpd --verbose --foreground --user root --address 0.0.0.0:69 --map-file /map-file /tftpboot",
|
|
"config_files": [
|
|
{% if orchestration_engine != 'KUBERNETES' %}
|
|
{
|
|
"source": "{{ container_config_directory }}/ironic-agent.kernel",
|
|
"dest": "/tftpboot/ironic-agent.kernel",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{
|
|
"source": "{{ container_config_directory }}/ironic-agent.initramfs",
|
|
"dest": "/tftpboot/ironic-agent.initramfs",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
},
|
|
{% endif %}
|
|
{
|
|
"source": "{{ container_config_directory }}/default",
|
|
"dest": "/tftpboot/pxelinux.cfg/default",
|
|
"owner": "root",
|
|
"perm": "0644"
|
|
}
|
|
],
|
|
"permissions": [
|
|
{
|
|
"path": "/tftpboot/pxelinux.cfg",
|
|
"owner": "ironic:ironic",
|
|
"recurse": true
|
|
}
|
|
]
|
|
}
|