FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora User

 
 
LinkBack Thread Tools
 
Old 07-02-2010, 12:56 PM
Ales Kozumplik
 
Default 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

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

Thread Tools




All times are GMT. The time now is 06:42 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org