If we're using nfsiso method with options, the options are prepended before the nfs url, so we need to parse the methodstr correctly. --- image.py | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/image.py b/image.py index 60f03aa..fb2f083 100644 --- a/image.py +++ b/image.py @@ -128,6 +128,7 @@ def getMediaId(path): def mountDirectory(methodstr, messageWindow): if methodstr.startswith("hd:"): method = methodstr[3:] + options = '' if method.count(":") == 1: (device, path) = method.split(":") fstype = "auto" @@ -138,7 +139,8 @@ def mountDirectory(methodstr, messageWindow): and not device.startswith("LABEL="): device = "/dev/%s" % device elif methodstr.startswith("nfsiso:"): - device = methodstr[7:] + (options, host, path) = iutil.parseNfsUrl(methodstr) + device = "%s:%s" % (host, path) fstype = "nfs" else: return @@ -149,7 +151,7 @@ def mountDirectory(methodstr, messageWindow): while True: try: - isys.mount(device, "/mnt/isodir", fstype = fstype) + isys.mount(device, "/mnt/isodir", fstype=fstype, options=options) break except SystemError, msg: log.error("couldn't mount ISO source directory: %s" % msg) -- 1.7.3.2 _______________________________________________ Anaconda-devel-list mailing list Anaconda-devel-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/anaconda-devel-list