[master 1/3] ssl: support --trustedssl in the repo kickstart command.

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

 



Related: rhbz#599040
---
 pyanaconda/yuminstall.py |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/pyanaconda/yuminstall.py b/pyanaconda/yuminstall.py
index f29d332..6a239d5 100644
--- a/pyanaconda/yuminstall.py
+++ b/pyanaconda/yuminstall.py
@@ -264,6 +264,7 @@ class AnacondaYumRepo(YumRepository):
     def __init__(self, *args, **kwargs):
         YumRepository.__init__(self, *args, **kwargs)
         self.enablegroups = True
+        self.sslverify = True
         self._anacondaBaseURLs = []
 
     def needsNetwork(self):
@@ -786,6 +787,9 @@ class AnacondaYum(YumSorter):
                 if ksrepo.includepkgs:
                     repo.includepkgs = ksrepo.includepkgs
 
+                if ksrepo.trustedssl:
+                    repo.sslverify = False
+
                 if ksrepo.proxy:
                     repo.setProxy(ksrepo)
 
-- 
1.7.1

_______________________________________________
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