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

Re: [PATCH 1/2] Only set noverifyssl on URL installs (#621469).


On Fri, 13 Aug 2010, Chris Lumens wrote:

Otherwise, we may end up treating an nfsInstallData struct like a urlInstallData
struct and that will lead to prompting for the NFS information again.  That in
turn leads to the whole NFSISO method not working.
loader/loader.c |    6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/loader/loader.c b/loader/loader.c
index 760c352..c006d47 100644
--- a/loader/loader.c
+++ b/loader/loader.c
@@ -1293,8 +1293,10 @@ static char *doLoaderMain(struct loaderData_s *loaderData,
            logMessage(INFO, "no stage2= given, assuming %s", tmp);
            setStage2LocFromCmdline(tmp, loaderData);
-            ((urlInstallData*)loaderData->stage2Data)->noverifyssl =
-                loaderData->instRepo_noverifyssl;
+            if (loaderData->method == METHOD_URL)
+                ((urlInstallData*)loaderData->stage2Data)->noverifyssl =
+                    loaderData->instRepo_noverifyssl;

            /* If we had to infer a stage2= location, but the repo= parameter
             * we based this guess on was wrong, we need to correct the typo

David Cantrell <dcantrell redhat com>
Red Hat / Honolulu, HI

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