summaryrefslogtreecommitdiffstats
path: root/anaconda
diff options
context:
space:
mode:
authorJesse Keating <jkeating@redhat.com>2012-10-04 11:19:28 -0700
committerJesse Keating <jkeating@redhat.com>2012-10-04 11:19:28 -0700
commit9e25d4c4c1d92b0e088760374a5e3f0992344f36 (patch)
treefa483c08e52e95078c83fed558dbfc4429b3f4d1 /anaconda
parent43a7df0138fcf64a4d6ea508f8965a96266acad6 (diff)
downloadanaconda-9e25d4c4c1d92b0e088760374a5e3f0992344f36.tar.gz
anaconda-9e25d4c4c1d92b0e088760374a5e3f0992344f36.tar.xz
anaconda-9e25d4c4c1d92b0e088760374a5e3f0992344f36.zip
Fix parsing of NFS method strings (#860966)
iutil wants the whole string, including the nfs: part.
Diffstat (limited to 'anaconda')
-rwxr-xr-xanaconda3
1 files changed, 1 insertions, 2 deletions
diff --git a/anaconda b/anaconda
index 411bb075c..c2d246daf 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