summaryrefslogtreecommitdiffstats
path: root/installclass.py
diff options
context:
space:
mode:
authorErik Troan <ewt@redhat.com>2000-03-08 18:00:28 +0000
committerErik Troan <ewt@redhat.com>2000-03-08 18:00:28 +0000
commit517a7f5e4c5757e5073f5d644928d5bc818b1679 (patch)
treeb93dc14ef928d60eb762801a9753e0302b8e9297 /installclass.py
parentbef6822444bfd9b7537b43cc0a570687201009c7 (diff)
downloadanaconda-517a7f5e4c5757e5073f5d644928d5bc818b1679.tar.gz
anaconda-517a7f5e4c5757e5073f5d644928d5bc818b1679.tar.xz
anaconda-517a7f5e4c5757e5073f5d644928d5bc818b1679.zip
allow kickstart swap
Diffstat (limited to 'installclass.py')
-rw-r--r--installclass.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/installclass.py b/installclass.py
index 0c0856747..0518f5dd4 100644
--- a/installclass.py
+++ b/installclass.py
@@ -52,7 +52,7 @@ class InstallClass:
found = 1
if not found:
raise ValueError, "unknown raid device %s" % (device,)
- if mntPoint[0] != '/':
+ if mntPoint[0] != '/' and mntPoint != 'swap':
raise ValueError, "bad raid mount point %s" % (mntPoint,)
if raidDev[0:2] != "md":
raise ValueError, "bad raid device point %s" % (raidDev,)