From: "Brian C. Lane" <bcl(a)redhat.com>
It was trying to mount the nfs path including the file.iso, so strip
that off before passing it to _setupNFS.
---
pyanaconda/packaging/yumpayload.py | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/pyanaconda/packaging/yumpayload.py b/pyanaconda/packaging/yumpayload.py
index 1555bf0..752cc1d 100644
--- a/pyanaconda/packaging/yumpayload.py
+++ b/pyanaconda/packaging/yumpayload.py
@@ -615,7 +615,11 @@ reposdir=%s
if needmount:
# Mount the NFS share on INSTALL_TREE. If it ends up
# being nfsiso we will move the mountpoint to ISO_DIR.
- self._setupNFS(INSTALL_TREE, method.server, method.dir,
+ if method.dir.endswith(".iso"):
+ nfsdir = os.path.dirname(method.dir)
+ else:
+ nfsdir = method.dir
+ self._setupNFS(INSTALL_TREE, method.server, nfsdir,
method.opts)
path = INSTALL_TREE
--
1.8.0.2