4cf1c66c1a
This patch adds nginx_port var and uses it when setting up the nginx service and for any reference to port 8080 when constructing links. To change the port nginx uses pass --extra-vars "nginx_port=<port #>" Change-Id: Ia06ef58544c3ef1308fcf42f1b9f0c168199f5f8
13 lines
625 B
Django/Jinja
13 lines
625 B
Django/Jinja
#!ipxe
|
|
|
|
dhcp
|
|
|
|
goto deploy
|
|
|
|
:deploy
|
|
kernel http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:{{nginx_port}}{{ '{{' }} pxe_options.deployment_aki_path {{ '}}' }} ip=${ip}:${next-server}:${gateway}:${netmask} BOOTIF=${mac} text {{ '{{' }} pxe_options.pxe_append_params {{ '}}' }} ipa-api-url={{ '{{' }} pxe_options['ipa-api-url'] {{ '}}' }} ipa-driver-name={{ '{{' }} pxe_options['ipa-driver-name'] {{ '}}' }}
|
|
|
|
initrd http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:{{nginx_port}}{{ '{{' }} pxe_options.deployment_ari_path {{ '}}' }}
|
|
boot
|
|
|