summaryrefslogtreecommitdiffstats
path: root/image.py
diff options
context:
space:
mode:
authorRadek Vykydal <rvykydal@redhat.com>2010-03-19 17:24:21 +0100
committerRadek Vykydal <rvykydal@redhat.com>2010-03-24 11:17:37 +0100
commit5697307698648e830647234625bfbfe0c7e43f16 (patch)
tree03efe957e6730c40ef604b645a278ca648f78705 /image.py
parent5baf853189623b4ee52654b09d91a3e7bfc56988 (diff)
downloadanaconda-5697307698648e830647234625bfbfe0c7e43f16.tar.gz
anaconda-5697307698648e830647234625bfbfe0c7e43f16.tar.xz
anaconda-5697307698648e830647234625bfbfe0c7e43f16.zip
Update format of cdrom devices when looking for repos on media (#566269)
This is needed when repo location is changed to CD/DVD in repo UI and the media was inserted after last storage population (e.g. just during repo UI step).
Diffstat (limited to 'image.py')
-rw-r--r--image.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/image.py b/image.py
index e15de12b2..60f03aa79 100644
--- a/image.py
+++ b/image.py
@@ -257,6 +257,7 @@ def scanForMedia(tree, storage):
if dev.type != "cdrom":
continue
+ storage.devicetree.updateDeviceFormat(dev)
try:
dev.format.mount(mountpoint=tree)
except: