> diff --git a/pyanaconda/storage/devicetree.py b/pyanaconda/storage/devicetree.py > index 214f577..a3ddde2 100644 > --- a/pyanaconda/storage/devicetree.py > +++ b/pyanaconda/storage/devicetree.py > @@ -1074,22 +1074,18 @@ class DeviceTree(object): > passphrase = self.__luksDevs.get(device.format.uuid) > if passphrase: > device.format.passphrase = passphrase > + elif self._cleanup: > + # if we're only building the devicetree so that we can > + # tear down all of the devices we don't need a passphrase > + if device.format.status and self._cleanup: Just a nit - you've already checked self._cleanup above, you don't need to do so again here. - Chris _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list