kolla-ansible/ansible/roles/ironic/templates/ironic-ipxe-httpd.conf.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

17 lines
526 B
Django/Jinja

Listen {{ api_interface_address }}:{{ ironic_ipxe_port }}
TraceEnable off
<VirtualHost *:{{ ironic_ipxe_port }}>
LogLevel warn
ErrorLog "/var/log/kolla/ironic/ironic-ipxe-error.log"
LogFormat "%h %l %u %t \"%r\" %>s %b %D \"%{Referer}i\" \"%{User-Agent}i\"" logformat
CustomLog "/var/log/kolla/ironic/ironic-ipxe-access.log" logformat
DocumentRoot "/httpboot"
<Directory /httpboot>
Options FollowSymLinks
AllowOverride None
Require all granted
</Directory>
</VirtualHost>