kolla-ansible/ansible/roles/ironic/templates/pxelinux.default.j2
Serguei Bezverkhi 0cd872c9e5 Fix genconfig for ironic-dnsmasq for kolla-kubernetes
Fix genconfig for ironic-dnsmasq for kolla-kubernetes

Change-Id: Icdf6f0aabb2b587437238e52305b06f424044546
Closes-Bug: #1665343
2017-02-16 22:33:05 -05:00

12 lines
499 B
Django/Jinja

default introspect
label introspect
kernel ironic-agent.kernel
{% if orchestration_engine != 'KUBERNETES' %}
append initrd=ironic-agent.initramfs ipa-inspection-callback-url=http://{{ kolla_internal_vip_address }}:{{ ironic_inspector_port }}/v1/continue systemd.journald.forward_to_console=yes
{% else %}
append initrd=ironic-agent.initramfs ipa-inspection-callback-url=http://ironic-inspector:{{ ironic_inspector_port }}/v1/continue systemd.journald.forward_to_console=yes
{% endif %}
ipappend 3