Re: [PATCH 2/3] Make sure multipathd starts on systems using mpath storage (#615040)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> diff --git a/storage/__init__.py b/storage/__init__.py
> index 42a9142..f0de972 100644
> --- a/storage/__init__.py
> +++ b/storage/__init__.py
> @@ -165,6 +165,10 @@ def storageComplete(anaconda):
>              if dev.format.type == "luks" and not dev.format.exists:
>                  dev.format.passphrase = anaconda.id.storage.encryptionPassphrase
>  
> +    services = set()
> +    map(lambda device: services.add(device.services), anaconda.id.storage.fsset)
> +    anaconda.id.ksdata.services.enabled = list(services)
> +
>      if anaconda.isKickstart:
>          return
>  

The services enablement code in InstallData.write is only going to run
if isKickstart is true, which of course won't be the case for
interactive installs.

- Chris

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux