diff options
Diffstat (limited to 'backend.py')
-rw-r--r-- | backend.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/backend.py b/backend.py index e8bcf4f5c..475785b12 100644 --- a/backend.py +++ b/backend.py @@ -85,8 +85,8 @@ class AnacondaBackend: # the initrd might need iscsi-initiator-utils, and chances are # it was not installed yet the first time mkinitrd was run, as # mkinitrd does not require it. - for disk in anaconda.id.diskset.disks.keys(): - if isys.driveIsIscsi(disk): + for disk in anaconda.id.storage.disks: + if isys.driveIsIscsi(disk.path): has_iscsi_disk = True break @@ -156,8 +156,9 @@ class AnacondaBackend: if not anaconda.mediaDevice or not os.path.exists(installimg): return + free = anaconda.id.storage.fsset.fsFreeSpace(anaconda.rootPath) self._loopbackFile = "%s%s/rhinstall-install.img" % (anaconda.rootPath, - anaconda.id.fsset.filesystemSpace(anaconda.rootPath)[0][0]) + free[0][0]) try: win = anaconda.intf.waitWindow(_("Copying File"), |