[PATCH] Fix parsing of NFS method strings (#860966)
Jesse Keating
jkeating at redhat.com
Thu Oct 4 18:24:21 UTC 2012
iutil wants the whole string, including the nfs: part.
---
anaconda | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/anaconda b/anaconda
index 411bb07..c2d246d 100755
--- a/anaconda
+++ b/anaconda
@@ -869,8 +869,7 @@ if __name__ == "__main__":
ksdata.method.method = "cdrom"
elif anaconda.methodstr.startswith("nfs"):
ksdata.method.method = "nfs"
- url = anaconda.methodstr.split(":", 1)[1]
- (options, server, path) = iutil.parseNfsUrl(url)
+ (options, server, path) = iutil.parseNfsUrl(anaconda.methodstr)
ksdata.method.server = server
ksdata.method.dir = path
ksdata.method.opts = options
--
1.7.11.4
More information about the anaconda-patches
mailing list