Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RHCOS 4.6 live PXE boot will now require a third artifact #134

Closed
christianh814 opened this issue Aug 4, 2020 · 2 comments
Closed

RHCOS 4.6 live PXE boot will now require a third artifact #134

christianh814 opened this issue Aug 4, 2020 · 2 comments
Labels
enhancement New feature or request

Comments

@christianh814
Copy link
Contributor

In OCP 4.6, there will be changes to how PXE needs to be set up. See the following issue tracker

@christianh814 christianh814 added the enhancement New feature or request label Aug 4, 2020
@christianh814
Copy link
Contributor Author

More info

The CoreOS team has received several BZs that use deprecated coreos-installer kernel arguments. These arguments are harmless, but they make it harder to discern what’s going on in the boot. After you’ve switched your tooling from the legacy RHCOS installer images to the new RHCOS 4.6 live images, please consider updating these kargs:

  • coreos.inst=yes - Remove. We now enable installation if coreos.inst.install_dev is specified.
  • coreos.inst.install_dev=sdX - Specify full device path, e.g. /dev/sda. The old format (without the preceding /dev/) will continue to be supported.
  • coreos.inst.image_url - Remove, usually. By default, the installer now installs directly from the boot media. coreos.inst.image_url is only needed when installing a version of RHCOS that doesn’t match the boot media. In addition, this option disables automatic selection of the correct image for 512-byte/4K sector drives.
  • coreos.inst.skip_media_check - Remove. If you need to disable GPG verification for an image specified by coreos.inst.image_url, specify coreos.inst.insecure.
  • coreos.inst.ignition_url=skip - Remove. coreos.inst.ignition_url is no longer mandatory.
  • rd.neednet=1 or rd.neednet=1 ip=dhcp - Remove unless other network configuration arguments are specified. The default is now to use DHCP.

Here’s a minimal example iPXE script for installing RHCOS:

#!ipxe
kernel https://example.com/rhcos-46.82.202008080040-0-live-kernel-x86_64 initrd=https://example.com/rhcos-46.82.202008080040-0-live-initramfs.x86_64.img coreos.live.rootfs_url=https://example.com/rhcos-46.82.202008080040-0-live-rootfs.x86_64.img coreos.inst.install_dev=/dev/sda coreos.inst.ignition_url=https://example.com/config.ign
boot

@christianh814
Copy link
Contributor Author

This should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant