summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>2000-02-01 19:36:24 +0000
committerMatt Wilson <msw@redhat.com>2000-02-01 19:36:24 +0000
commit0846c553048be0f46215fe9e073b046cc2c43c97 (patch)
treefe4dbbce6aacbc182c718873144b4985330166df /installclass.py
parenta9461ec5d1001f69ea6b2382b27e389e77e6fb35 (diff)
downloadanaconda-0846c553048be0f46215fe9e073b046cc2c43c97.tar.gz
anaconda-0846c553048be0f46215fe9e073b046cc2c43c97.tar.xz
anaconda-0846c553048be0f46215fe9e073b046cc2c43c97.zip
create boot disk by default in server/workstation installs
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py
index ed322eb90..5eb5e0d01 100644
--- a/installclass.py
+++ b/installclass.py
@@ -150,6 +150,9 @@ class InstallClass:
def getMakeBootdisk(self):
return self.makeBootdisk
+ def setMakeBootdisk(self, state):
+ self.makeBootdisk = state
+
def setNetwork(self, bootproto, ip, netmask, gateway, nameserver):
self.bootProto = bootproto
self.ip = ip
@@ -238,6 +241,7 @@ class Workstation(InstallClass):
self.addToSkipList("lilo")
self.addToSkipList("authentication")
self.addToSkipList("package-selection")
+ self.setMakeBootdisk(1)
if os.uname ()[4] != 'sparc64':
self.addNewPartition('/boot', 16, 16, 0, None)
@@ -272,6 +276,7 @@ class Server(InstallClass):
self.addToSkipList("lilo")
self.addToSkipList("package-selection")
self.addToSkipList("authentication")
+ self.setMakeBootdisk(1)
if os.uname ()[4] != 'sparc64':
self.addNewPartition('/boot', 16, 16, 0, None)