summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
authorMike Fulbright <msf@redhat.com>2001-02-01 23:12:34 +0000
committerMike Fulbright <msf@redhat.com>2001-02-01 23:12:34 +0000
commite711b46cb7d9f1529328b9b048c39d2f71bdb647 (patch)
treed4414c18a165c267e56085638f4831b200b3d178 /kickstart.py
parentd9b595d338fc174d65a6a0c7998f29ad253aad52 (diff)
downloadanaconda-e711b46cb7d9f1529328b9b048c39d2f71bdb647.tar.gz
anaconda-e711b46cb7d9f1529328b9b048c39d2f71bdb647.tar.xz
anaconda-e711b46cb7d9f1529328b9b048c39d2f71bdb647.zip
Several changes:
- fixed bug where if no partition were specified to be allocated in ks, goto 'unslicable ....' error - made linear default for kickstart LILO option - made it so firewall and lba32warning messages skipped in ks mode
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/kickstart.py b/kickstart.py
index fd62826f0..f6c2b7f0a 100644
--- a/kickstart.py
+++ b/kickstart.py
@@ -42,6 +42,10 @@ class Script:
class KickstartBase(BaseInstallClass):
+ def mergeFstabEntries(self, todo):
+ for (mntpoint, (dev, fstype, reformat)) in self.fstab:
+ todo.fstab.addMount(dev, mntpoint, fstype, reformat)
+
def postAction(self, rootPath, serial):
for script in self.postScripts:
script.run(rootPath, serial)
@@ -109,7 +113,6 @@ class KickstartBase(BaseInstallClass):
self.setFirewall(enable, policy, trusts, ports, dhcp, ssh, telnet,
smtp, http, ftp)
- self.addToSkipList("firewall")
def doAuthconfig(self, args):
(args, extra) = isys.getopt(args, '',
@@ -194,7 +197,7 @@ class KickstartBase(BaseInstallClass):
appendLine = None
location = "mbr"
- linear = 0
+ linear = 1
for n in args:
(str, arg) = n
@@ -610,6 +613,11 @@ class KickstartBase(BaseInstallClass):
self.addToSkipList("confirm-install")
self.addToSkipList("custom-upgrade")
self.addToSkipList("network")
+ # skipping firewall by default, disabled by default
+ self.addToSkipList("firewall")
+ # skip interactive warning about placing boot partition > 1024 cyl
+ self.addToSkipList("lba32warning")
+
self.setEarlySwapOn(1)
self.partitions = []
self.postScripts = []