Remove ip kernel command line argument

The `ip` kernel command line argument is incompatible with newer dracut
versions used in CoreOS IPA images. A similar change was done in Ironic,
see https://review.opendev.org/#/c/566390/ for more details.

Change-Id: Ie70bba11c74b5769a7009f5b5599e41bd27e1d7c
Story: 2006700
Task: 37007
This commit is contained in:
Pierre Riteau 2019-10-10 11:33:44 +02:00
parent 28f4ad3f20
commit 00d69a3f5f
2 changed files with 9 additions and 1 deletions

View File

@ -5,6 +5,6 @@ dhcp || reboot
goto introspect
:introspect
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 {{ inspector_extra_kernel_options | default('') }} initrd={{ ipa_ramdisk_url | basename }}
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 BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0 {{ inspector_extra_kernel_options | default('') }} initrd={{ ipa_ramdisk_url | basename }}
initrd {{ ipa_ramdisk_url }}
boot

View File

@ -0,0 +1,8 @@
---
fixes:
- |
The inspector iPXE template kernel command line argument ``ip`` has been
removed as it is incompatible with the ``BOOTIF`` and missing ``autoconf``
parameters with dracut. Without this change CoreOS IPA images cannot be
booted. Further details can be found in `story 2006700
<https://storyboard.openstack.org/#!/story/2006700>`_.