Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
DescriptionChristophe Besson
2023-06-23 11:19:41 UTC
Description of problem:
Our customer was using Lorax in the past, and kept it for RHEL 8, despite being deprecated in favor of osbuild-composer.
But the latest backend does not provide a "live-iso" image type as the former backend did.
RHEL 9 still provide lorax-lmc-novirt, without the KS templates with (many) tricks related to a live desktop session (which were stored in /usr/share/doc/lorax/rhel-livemedia.ks).
Using the RHEL 8 one allows me to create a RHEL 9 live image, but some hacks didn't work.
One of the major customer expectations is to have the squashfs (containing the standard rootfs customized by the blueprint != anaconda installer) loaded into RAM (allowing the USB to be unplugged). Not sure it should be the default (as it can be enabled with rd.live.ram=1).
Please see these upstream issues that are closely related:
* Live images for PXE boot output format #472 - https://github.com/osbuild/osbuild/issues/472
* https://github.com/osbuild/osbuild/pull/430
Version-Release number of selected component (if applicable):
osbuild-composer-76-2.el9_2.2.x86_64
Comment 2Christophe Besson
2023-06-23 11:20:45 UTC
Doable with lorax-lmc-novirt and livemedia.ks
[root@localhost ~]# uname -a
Linux localhost.localdomain 5.14.0-284.11.1.el9_2.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Apr 12 10:45:03 EDT 2023 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# cat /etc/redhat-release
Red Hat Enterprise Linux release 9.2 (Plow)
[root@localhost ~]# lsblk
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
loop0 7:0 0 1.6G 1 loop
loop1 7:1 0 7.8G 1 loop
├─live-rw 253:0 0 7.8G 0 dm /
└─live-base 253:1 0 7.8G 1 dm
loop2 7:2 0 32G 0 loop
└─live-rw 253:0 0 7.8G 0 dm /
sr0 11:0 1 1.6G 0 rom /run/initramfs/live
(In reply to Christophe Besson from comment #0)
> RHEL 9 still provide lorax-lmc-novirt, without the KS templates with (many)
> tricks related to a live desktop session (which were stored in
> /usr/share/doc/lorax/rhel-livemedia.ks).
FYI there is still an example kickstart, it was renamed to /usr/share/doc/lorax/livemedia.ks, and it does work on RHEL 9.2 just fine.