Hide Forgot
Description of problem: The livemedia-creator install is to a disk image. In RHEL 7 I was able to mount the install ISO in /mnt/install/repo and use the following kickstart url install method: url --url="file:///mnt/install/repo" With the same install method used in RHEL 9, livemedia-creator now throws the following message and exits: The kickstart must activate networking if the url or nfs install method is used. Version-Release number of selected component (if applicable): lorax-34.9.14-1.el9.x86_64 How reproducible: Always Steps to Reproduce: 1. Create the file test.ks with just one line: url --url="file:///mnt/install/repo" 2. Run the following command: livemedia-creator --no-virt --make-disk --ks=test.ks --image-only --dracut-arg=--no-hostonly --image-name image.tmp Actual results: The command fails with the following output: [root@localhost i95code]# livemedia-creator --no-virt --make-disk --ks=test.ks --image-only --dracut-arg=--no-hostonly --image-name image.tmp 2022-10-04 12:52:13,684: livemedia-creator v34.9.14-1 2022-10-04 12:52:13,684: selinux is Disabled 2022-10-04 12:52:13,737: The kickstart must activate networking if the url or nfs install method is used. 2022-10-04 12:52:13,737: The kickstart must activate networking if the url or nfs install method is used. Expected results: 2022-10-04 15:45:52,314: livemedia-creator v34.9.14-1 2022-10-04 15:45:52,314: selinux is Disabled 2022-10-04 15:45:52,370: disk_img = /var/tmp/image.tmp 2022-10-05 15:45:52,370: Using disk size of 2MiB 2022-10-05 15:45:52,371: Running anaconda. and then anaconda will continue to install if there is a valid repo located at /mnt/install/repo Additional info:lorax-28.14.68-1 This also affects the lorax that is shipped with the current RHEL 8.6 (lorax-28.14.68-1). I already brought this issue up with the github lorax team and they have the following PR to resolve it: https://github.com/weldr/lorax/pull/1273
Reproduced with lorax-34.9.20-1.el9. Verified with lorax-34.9.21-1.el9, 'url --url="file://..."' can be used without the network command in the kickstart file. Marking as Verified:Tested.
Checked that lorax-34.9.21-1.el9 is in nightly compose RHEL-9.2.0-20221125.1 Moving to VERIFIED
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (lorax bug fix and enhancement update), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2023:2267