Description of problem: The installer prints an error when running a kickstart installation with the kickstart file on disk. Despite the error message, the kickstart file is successfully used for the installation, so it's not a blocking issue: ############## Installer errors encountered during boot ############## unknown network kickstart URL: hd:disk/by-uuid/4bea3f40-e8f7-4990-be75-06f0cfd3ebf2:/192.168.122.236-1650464282 Version-Release number of selected component (if applicable): RHEL-9.0 anaconda-34.25.0.29-1.el9_0 How reproducible: Always Steps to Reproduce: 1. Prepare a kickstart file on a disk partition. 2. Use the kickstart file during the installation (inst.ks=hd:disk/by-uuid/<UUID>:/<FILENAME>). Actual results: An error on the console. The kickstart file is successfully used. Expected results: No errors related to kickstart. Additional info: The error is displayed also in case of "inst.ks=cdrom:/ks.cfg" on the kernel cmdline (see bug 2178281): "unknown network kickstart URL: cdrom:/ks.cfg"
Based on my quick look on the code it seems that we are always running fetch-kickstart-net and also fetch-kickstart-disk. The issue is that we are not able to find (correctly) the kickstart in the fetch-kickstart-net and warn user. This seems to be just a cosmetic bug where we should look on the command line parameter and if there is prefix `hd:` then we should ignore the fetch-kickstart-net script.
Not sure if I hit the same bug, but the symptoms look similar, with the difference that in my case boot ends up in dracut emergency shell. This happens in our test where an ISO made by osbuild-composer is booted via UEFI HTTP boot. I'll attach rdsosreport, so that you can have a look if there's the same underlying cause or this is something different.
Jirko, I found the following arguments on the kernel command line from comment 6, which look somehow incorrect: ... inst.updates=http://srv/anabot.img anabot=http://srv/default-partitioning.xml ... Also "inst.ks=hd:LABEL=RHEL-9-2-0-BaseOS-x86_64:/osbuild.ks" is present twice on the kernel cmdline.
*** Bug 2178281 has been marked as a duplicate of this bug. ***
RHEL-8 clone: bug 2211857
This is happening also for inst.ks=cdrom.
PR: https://github.com/rhinstaller/anaconda/pull/4807