summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorMatt Wilson <msw@redhat.com>1999-09-24 22:17:06 +0000
committerMatt Wilson <msw@redhat.com>1999-09-24 22:17:06 +0000
commitf23baa3e5fc78a59e45dbf4d744c63b924f7b7d7 (patch)
tree5386d17c2051f1161aa3477936b40e985ed8e383 /installclass.py
parent30346352d96b0548a24d92c17a36bc33c348bac5 (diff)
downloadanaconda-f23baa3e5fc78a59e45dbf4d744c63b924f7b7d7.tar.gz
anaconda-f23baa3e5fc78a59e45dbf4d744c63b924f7b7d7.tar.xz
anaconda-f23baa3e5fc78a59e45dbf4d744c63b924f7b7d7.zip
testing...
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/installclass.py b/installclass.py
index 4754a35c3..ad169ee04 100644
--- a/installclass.py
+++ b/installclass.py
@@ -68,6 +68,12 @@ class InstallClass:
def getLiloInformation(self):
return self.lilo
+ def getFstab(self):
+ return self.fstab
+
+ def addToFstab(self, mntpoint, dev, fstype = "ext2" , reformat = 1):
+ self.fstab.append((mntpoint, (dev, fstype, reformat)))
+
def setTimezoneInfo(self, timezone, asUtc = 0, asArc = 0):
self.timezone = (timezone, asUtc, asArc)
@@ -201,6 +207,7 @@ class InstallClass:
self.defaultRunlevel = None
self.postScript = None
self.postInChroot = 0
+ self.fstab = []
# we need to be able to differentiate between this and custom
class DefaultInstall(InstallClass):