[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[rhel6-branch 2/2] nfs/kickstart: do not throw away the --opts part.



Anaconda can perfectly well parse the nfs:options:server:dir format, see
iutil.py:parseNfsUrl().

Resolves: rhbz#688757
---
 loader/nfsinstall.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c
index 73dedcd..685062b 100644
--- a/loader/nfsinstall.c
+++ b/loader/nfsinstall.c
@@ -401,7 +401,8 @@ void setKickstartNfs(struct loaderData_s * loaderData, int argc,
 
     substr = strstr(dir, ".img");
     if (!substr || (substr && *(substr+4) != '\0')) {
-        checked_asprintf(&(loaderData->instRepo), "nfs:%s:%s", host, dir);
+        checked_asprintf(&(loaderData->instRepo), "nfs:%s:%s:%s",
+                         mountOpts, host, dir);
 
         logMessage(INFO, "results of nfs, host is %s, dir is %s, opts are '%s'",
                    host, dir, mountOpts);
-- 
1.7.3.3


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]