Correct inspector network_interface template

The network_interface in the templates should be set
to ans_network_interface which is an updated variable
with the string updated to ansible's default interface
format for cases when the interface name has a dash in
the ystring.

Change-Id: I0afe8daea40a26875a9c336ceb7c00720dea3265
This commit is contained in:
Julia Kreger 2017-04-02 01:53:49 +00:00
parent 895bc4f8db
commit a1d0bf1e11

View File

@ -5,6 +5,6 @@ dhcp || reboot
goto introspect
:introspect
kernel {{ ipa_kernel_url }} ipa-inspection-callback-url=http://{{ hostvars[inventory_hostname]['ansible_' + network_interface]['ipv4']['address'] }}:5050/v1/continue systemd.journald.forward_to_console=yes ip=${ip}:${next-server}:${gateway}:${netmask} BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0
kernel {{ ipa_kernel_url }} ipa-inspection-callback-url=http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface ]['ipv4']['address'] }}:5050/v1/continue systemd.journald.forward_to_console=yes ip=${ip}:${next-server}:${gateway}:${netmask} BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0
initrd {{ ipa_ramdisk_url }}
boot