Kickstart Virtual Box not selecting the harddrive

Latest response

I'm running a Rhel 7.4 machine on Virtual Box and we want the kickstart to partition the disk. The kickstart stops mid install and says "no drives selected" and forces me to select the sda drive and define partition manually, which we want the kickstart automatically do instead.

In the kickstart file we have all the commands that should select and set up the disk to be partitioned

ignoredisk --only-use=sda
bootloader --append=" crashkernel=auto" --location=mbr --boot-drive=sda
zerombr
clearpart --all --initlabel --drives=sda
part /boot --fstype="ext4" --ondisk=sda --size=1024
....

Is this a known issue with VirtualBox and RHEL7 or can we add something in the kickstart file to force the selection of the hard drive.

OS: RHEL 7.4
VirtualBox : 6.1

Thanks
Robert

Responses