summaryrefslogtreecommitdiffstats
path: root/backend.py
diff options
context:
space:
mode:
authorChris Lumens <clumens@redhat.com>2007-06-27 18:30:49 +0000
committerChris Lumens <clumens@redhat.com>2007-06-27 18:30:49 +0000
commitf7b084ebd47cf12a65f8f125b3684213be82fac2 (patch)
treefa3b8ebda70c73fc7f74cb9fb4680c4151c77164 /backend.py
parentf3fd7e5b67529846728cb6ee480c6835de9c412b (diff)
downloadanaconda-f7b084ebd47cf12a65f8f125b3684213be82fac2.tar.gz
anaconda-f7b084ebd47cf12a65f8f125b3684213be82fac2.tar.xz
anaconda-f7b084ebd47cf12a65f8f125b3684213be82fac2.zip
Add a method to write out repo lines to the anaconda-ks.cfg file for all
enabled add-on repositories (#206152).
Diffstat (limited to 'backend.py')
-rw-r--r--backend.py10
1 files changed, 9 insertions, 1 deletions
diff --git a/backend.py b/backend.py
index 1b3b9e570..c6c9fd2f6 100644
--- a/backend.py
+++ b/backend.py
@@ -4,7 +4,7 @@
# Paul Nasrat <pnasrat@redhat.com>
# Jeremy Katz <katzj@redhat.com>
#
-# Copyright (c) 2005 Red Hat, Inc.
+# Copyright (c) 2005-2007 Red Hat, Inc.
#
# This software may be freely redistributed under the terms of the GNU
# general public license.
@@ -242,14 +242,22 @@ class AnacondaBackend:
log.warning("getDefaultGroups not implemented for backend!")
pass
+ # write out the %packages section of anaconda-ks.cfg
def writePackagesKS(self, f):
log.warning("writePackagesKS not implemented for backend!")
pass
+ # write out any config files that live on the installed system
+ # (e.g., /etc/yum.repos.d/* files)
def writeConfiguration(self):
log.warning("writeConfig not implemented for backend!")
pass
+ # write out any other kickstart bits the backend requires - no warning
+ # here because this may not be needed
+ def writeKS(self, f):
+ pass
+
def doRepoSetup(anaconda):
anaconda.backend.doInitialSetup(anaconda)
anaconda.backend.doRepoSetup(anaconda)