summaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorDavid Lehman <dlehman@redhat.com>2010-12-06 13:08:30 -0600
committerDavid Lehman <dlehman@redhat.com>2010-12-07 11:06:31 -0600
commit5b93ead4aaecf777515828a7eb77bc226df63a56 (patch)
treeffb33b4473a91aef780c44c23aecb62dd86942bd /scripts
parent45cdd4a254b10dec1b30c21961d0be719a5c4923 (diff)
downloadanaconda-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-xscripts/anaconda-image-cleanup2
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)