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 > Ubuntu > Ubuntu User

 
 
LinkBack Thread Tools
 
Old 02-14-2012, 02:13 PM
Radek Vykydal
 
Default Generate repo= ks command only for repos added by user (#738577)

Don't generate it for base repo which corresponds to kickstart
install url/nfs/cdrom command.
Don't generate if for addon repos from media, which would fail.

Resolves: rhbz#738577
---
yuminstall.py | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/yuminstall.py b/yuminstall.py
index 890ed83..1a0db11 100644
--- a/yuminstall.py
+++ b/yuminstall.py
@@ -2016,6 +2016,11 @@ debuglevel=6
for repo in self.ayum.repos.listEnabled():
if repo.name == "Installation Repo":
continue
+ if repo.name == "Red Hat Enterprise Linux":
+ continue
+ # ignore addon repos from media
+ if repo.anacondaBaseURLs[0].startswith("file://"):
+ continue

line = "repo --name="%s" " % (repo.name or repo.repoid)

--
1.7.4

_______________________________________________
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 09:40 AM.

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