summaryrefslogtreecommitdiffstats
path: root/yuminstall.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2008-03-14 16:15:56 -0400
committerChris Lumens <clumens@redhat.com>2008-03-14 16:15:56 -0400
commit7fcd2510e211e726bedd29f732dc75e0ff583202 (patch)
treec251d65688e443bb1e8e2bb8f36dbb4311b1e366 /yuminstall.py
parent4ce7fadb86523cda81c2dc4cb792f751a1dbedef (diff)
downloadanaconda-7fcd2510e211e726bedd29f732dc75e0ff583202.tar.gz
anaconda-7fcd2510e211e726bedd29f732dc75e0ff583202.tar.xz
anaconda-7fcd2510e211e726bedd29f732dc75e0ff583202.zip
Set methodstr for nfsiso installs (#437541).
Diffstat (limited to 'yuminstall.py')
-rw-r--r--yuminstall.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/yuminstall.py b/yuminstall.py
index c3f984f37..f746a7536 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -458,6 +458,10 @@ class AnacondaYum(YumSorter):
methodstr = "file://%s" % self.tree
if not os.path.ismount(self.tree):
isys.mount(self.anaconda.methodstr[4:], self.tree, "nfs")
+ elif self.anaconda.methodstr.startswith("nfsiso:"):
+ methodstr = "file://%s" % self.tree
+ if not os.path.ismount(self.tree):
+ isys.mount(self.anaconda.methodstr[7:], self.tree, "nfs")
elif self.anaconda.methodstr.startswith("cdrom:"):
methodstr = "file://%s" % self.tree
elif self.anaconda.methodstr.startswith("hd:"):