0cd872c9e5
Fix genconfig for ironic-dnsmasq for kolla-kubernetes Change-Id: Icdf6f0aabb2b587437238e52305b06f424044546 Closes-Bug: #1665343
26 lines
832 B
Django/Jinja
26 lines
832 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"
|
|
}
|
|
]
|
|
}
|