+ if (loaderData.instRepo_trustedssl) {
+ *argptr++ = "--trustedssl";
+ }
+
if (loaderData.proxy && strcmp("", loaderData.proxy)) {
*argptr++ = "--proxy";
diff --git a/pyanaconda/flags.py b/pyanaconda/flags.py
index af6216c..900c355 100644
--- a/pyanaconda/flags.py
+++ b/pyanaconda/flags.py
@@ -93,6 +93,7 @@ class Flags:
self.__dict__['flags']['useIPv6'] = True
self.__dict__['flags']['sshd'] = 0
self.__dict__['flags']['preexisting_x11'] = False
+ self.__dict__['flags']['trustedssl'] = False
# for non-physical consoles like some ppc and sgi altix,
# we need to preserve the console device and not try to
# do things like bogl on them. this preserves what that
diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index 6a239d5..05a6977 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -585,6 +585,9 @@ class AnacondaYum(YumSorter):
if self.anaconda.proxy:
repo.setProxy(self.anaconda)
+ if flags.trustedssl:
+ repo.sslverify = False
+
repo.enable()
self.repos.add(repo)
--
1.7.1
_______________________________________________
Anaconda-devel-list mailing list
Anaconda-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/anaconda-devel-list