We're right now in the process of deploying a set of fibre-channel connected hosts with multipathed root disks. The installation is automated through foreman, so we boot vie PXE and run anaconda with a kickstart file.
The default behaviour in anaconda is nowadays to use so-called user-friendly-names for multipath-devices (i.e. mpatha, mpathb, etc.). We would like to disable this behaviour so we have disks named by wwn.
As far as I understand the anaconda source-code there is a parameter/command called mpath_friendly_names
, that can be used to enable friendly names (which is today's default). However, we want to disable friendly names and I cannot figure out what parameter/command in the kickstart will do that.
So how can I achieve this?
try passing to the booting kernel (i.e. within the
append
line if you use pxelinux)EDIT: this parameters is used when processing flags at
/pyanaconda/flags.py
Initially processed flags can get their default value overwritten if the right variable is found when parsing the Kernel command line.
In this case it overwrites the default value
self.mpathFriendlyNames = true