[CentOS] Kickstart and nvme0n1

Mon Nov 27 14:05:46 UTC 2017
James Pearson <james-p at moving-picture.com>

Volker wrote:
> In recent hardware the first disk has device name nvme0n1 rather then sda
> How do you tell kickstart to use the first available disk? No matter if
> it is called sda or nvme0n1?
> e.g. part /boot --fstype="xfs"  --ondisk=sda --size=1000

I've never tried it, but the Redhat kickstart docs mention the 'part' 
option '--onbiosdisk':

> --onbiosdisk - Forces the partition to be created on a particular disk
> as discovered by the BIOS. 

The Redhat kickstart docs don't give any clues as to what the 
argument(s) should be - but a quick google gives:


So, maybe '--onbiosdisk=80' _might_ do what you need ?

James Pearson