Multipath curthook can't be disabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
subiquity |
New
|
Undecided
|
Unassigned |
Bug Description
Taken from detect_
/snap/subiquity
-------
def detect_
DEFAULT_
}
if osfamily not in DEFAULT_
raise ValueError(
'No multipath package mapping for distro: %s' % osfamily)
mpcfg = cfg.get(
mpmode = mpcfg.get('mode', 'auto') <-------------I
mppkgs = mpcfg.get(
mpbindings = mpcfg.get(
if isinstance(mppkgs, str):
mppkgs = [mppkgs]
if mpmode == 'disabled': <--------------
return
mp_device = block.detect_
LOG.
if mpmode == 'auto' and not mp_device:
return
--------
As I read this, it means that the hook will terminate if the value of multipath/mode is 'disabled', and will assign that value to 'auto' if the setting isn't detected.
Multipath appears as a top-level config key in the Curtin documentation, but I am not able to get it to be read into /var/log/
Is it intended to be able to disable multipath in this fashion for autoinstall?
It has generally not been a goal so far to allow customization of all aspects of the curtin config subiquity creates. Perhaps there should be...