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

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



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


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