diff options
author | Jeremy Katz <katzj@redhat.com> | 2001-07-31 20:48:37 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2001-07-31 20:48:37 +0000 |
commit | 437c1541887fdf44cbb7d466ac90b3d4641dc051 (patch) | |
tree | 65a668c656a0ea2ec5d64a550f287a4c50fd6d64 /kickstart.py | |
parent | 5a258f49853a6e1c9932fd8a5ad4aab6e09c986a (diff) | |
download | anaconda-437c1541887fdf44cbb7d466ac90b3d4641dc051.tar.gz anaconda-437c1541887fdf44cbb7d466ac90b3d4641dc051.tar.xz anaconda-437c1541887fdf44cbb7d466ac90b3d4641dc051.zip |
add --enablecache for kickstart
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/kickstart.py b/kickstart.py index 694e10488..c55d6c97a 100644 --- a/kickstart.py +++ b/kickstart.py @@ -122,7 +122,8 @@ class KickstartBase(BaseInstallClass): 'enableldaptls', 'enablekrb5', 'krb5realm=', 'krb5kdc=', 'krb5adminserver=', 'enablehesiod', 'hesiodlhs=', 'hesiodrhs=', - 'enablesmbauth', 'smbservers=', 'smbworkgroup=']) + 'enablesmbauth', 'smbservers=', 'smbworkgroup=', + 'enablecache']) useShadow = 0 @@ -151,6 +152,8 @@ class KickstartBase(BaseInstallClass): useSamba = 0 smbServers = "" smbWorkgroup = "" + + enableCache = 0 for n in args: (str, arg) = n @@ -194,6 +197,8 @@ class KickstartBase(BaseInstallClass): smbServers = arg elif (str == '--smbworkgroup'): smbWorkgroup = arg + elif (str == '--enablecache'): + enableCache = 1 if useNis and not nisServer: nisBroadcast = 1 @@ -204,7 +209,8 @@ class KickstartBase(BaseInstallClass): ldapBasedn, useLdaptls, useKrb5, krb5Realm, krb5Kdc, krb5Admin, useHesiod, hesiodLhs, hesiodRhs, - useSamba, smbServers, smbWorkgroup) + useSamba, smbServers, smbWorkgroup, + enableCache) self.skipSteps.append("authentication") |