RHEL 8.4 - anaconda mounting inst.repo=hd incorrectly?

Latest response

Hello,

I'm having issues deploying a system using some logic that previously worked with RHEL 7.x systems.

I am booting the system from a removable HDD and in my boot options I use the following "inst.repo=hd:LABEL=IMAGE://images/build" among other things.

For example the root of my HDD would look like (obviously not all the files):

images/
images/build1
images/build1/.treeinfo
images/build1/BaseOS
images/build1/AppStream
images/build1/kickstart.ks
images/build2
images/build2/.treeinfo
images/build2/BaseOS
images/build2/AppStream
images/build2/kickstart.ks

I create a grub menu that supports each build with its own inst.repo=hd option in the menu.

However, when it boots into Anaconda its not mounting the root of my selected build to /run/install/repo its mounting the root of the HDD.

This breaks the install logic completely as it can't find repos and my kickstart scripts are also programed assuming /run/install/repo is the root of the booted build.

When this same logic is used on RedHat 7.x anaconda mounts "inst.repo=hd:LABEL=IMAGE://images/build" to /run/install/repo not "inst.repo=hd:LABEL=IMAGE://"

Anyone gave any ideas?

Responses