[PATCH] Add nfsiso: handling to parseNfsHostPathOpts

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

 



From: "Brian C. Lane" <bcl@xxxxxxxxxx>

This was causing the wrong url to be used when looking for RHUpdates/,
updates.img and product.img on an nfs .iso install.

NOTE: Tested along with fix for #741466
---
 loader/nfsinstall.c |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/loader/nfsinstall.c b/loader/nfsinstall.c
index d29e98a..f46e79e 100644
--- a/loader/nfsinstall.c
+++ b/loader/nfsinstall.c
@@ -123,12 +123,14 @@ static int nfsGetSetup(char ** hostptr, char ** dirptr, char ** optsptr) {
 
 /* Parse nfs: url and return its componenets
  *
- * nfs[:options]:<server>:<path>
+ * (nfs|nfsiso)[:options]:<server>:<path>
  */
 void parseNfsHostPathOpts(char *url, char **host, char **path, char **opts) {
-    /* Skip over the leading nfs: if present. */
+    /* Skip over the leading nfs: or nfsiso: if present. */
     if (!strncmp(url, "nfs:", 4))
         url += 4;
+    else if (!strncmp(url, "nfsiso:", 7))
+        url += 7;
 
     logMessage(DEBUGLVL, "parseNfsHostPathOpts url: |%s|", url);
 
-- 
1.7.6

_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/anaconda-devel-list


[Index of Archives]     [Kickstart]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]
  Powered by Linux