From a1d0bf1e11a8b15d00350a8fab7ae038cc5877a8 Mon Sep 17 00:00:00 2001 From: Julia Kreger Date: Sun, 2 Apr 2017 01:53:49 +0000 Subject: [PATCH] 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 --- .../templates/inspector-default-boot-ipxe.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/playbooks/roles/bifrost-ironic-install/templates/inspector-default-boot-ipxe.j2 b/playbooks/roles/bifrost-ironic-install/templates/inspector-default-boot-ipxe.j2 index f8435dddd..696145398 100644 --- a/playbooks/roles/bifrost-ironic-install/templates/inspector-default-boot-ipxe.j2 +++ b/playbooks/roles/bifrost-ironic-install/templates/inspector-default-boot-ipxe.j2 @@ -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