diff options
| author | David Lehman <dlehman@redhat.com> | 2010-12-06 13:08:30 -0600 |
|---|---|---|
| committer | David Lehman <dlehman@redhat.com> | 2010-12-07 11:06:31 -0600 |
| commit | 5b93ead4aaecf777515828a7eb77bc226df63a56 (patch) | |
| tree | ffb33b4473a91aef780c44c23aecb62dd86942bd /scripts | |
| parent | 45cdd4a254b10dec1b30c21961d0be719a5c4923 (diff) | |
| download | anaconda-5b93ead4aaecf777515828a7eb77bc226df63a56.tar.gz anaconda-5b93ead4aaecf777515828a7eb77bc226df63a56.tar.xz anaconda-5b93ead4aaecf777515828a7eb77bc226df63a56.zip | |
Add cleanup-only mode to DeviceTree.populate.
Cleanup-only mode doesn't need passphrases for active LUKS devices
since it is only going to deactivate them.
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/anaconda-image-cleanup | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/anaconda-image-cleanup b/scripts/anaconda-image-cleanup index 00f2c82a9..366d8d27d 100755 --- a/scripts/anaconda-image-cleanup +++ b/scripts/anaconda-image-cleanup @@ -48,7 +48,7 @@ os.system("udevadm control --env=ANACONDA=1") os.system("udevadm trigger --subsystem-match block") os.system("udevadm settle") devicetree = DeviceTree(intf=intf, conf=storage_config) -devicetree.populate() +devicetree.populate(cleanupOnly=True) devicetree.teardownAll() for name in devicetree.diskImages.keys(): device = devicetree.getDeviceByName(name) |
