summaryrefslogtreecommitdiffstats
path: root/partitions.py
diff options
context:
space:
mode:
authorJeremy Katz <katzj@redhat.com>2003-02-11 03:25:50 +0000
committerJeremy Katz <katzj@redhat.com>2003-02-11 03:25:50 +0000
commitf331f6551588ef2234204ffa8c81a8a1aa4ee1d6 (patch)
tree20dbea1a943b0578a8da83b9bfefddd3a8b16606 /partitions.py
parenta755df42cc0b38aa5bef7be65529ec91ec27ca32 (diff)
downloadanaconda-f331f6551588ef2234204ffa8c81a8a1aa4ee1d6.tar.gz
anaconda-f331f6551588ef2234204ffa8c81a8a1aa4ee1d6.tar.xz
anaconda-f331f6551588ef2234204ffa8c81a8a1aa4ee1d6.zip
add (undocumented) preexisting lvm/raid support to kickstart. use
the partition strings in error cases to avoid breaking string freeze (should be fixed post gingin) Adds the following: raid / --device md0 --useexisting Use existing raid device md0, don't format it raid /home --device md0 --noformat Use existing raid device, but format it volgroup myvg --noformat volgroup myvg --useexisting Use existing volume group. Doesn't run vgcreate logvol /foo --vgname=myvg --name=root --noformat Reuse existing logical volume myvg/root and don't format logvol / --vgname=myvg --name=root --useexisting Reuse existing logical volume myvg/root and format it clearpart --none For completeness sake (and because I tried to use it :-) These aren't really supported but are there so that people can play with them and hopefully find the bugs before taroon :) Also has the side effect of probably fixing the occasional traceback mikem sees with lvm that I haven't reproduced (but got something similar to while testing this stuff)
Diffstat (limited to 'partitions.py')
-rw-r--r--partitions.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/partitions.py b/partitions.py
index 9e466e295..7cc33e86a 100644
--- a/partitions.py
+++ b/partitions.py
@@ -162,7 +162,7 @@ class Partitions:
fsystem = fsset.fileSystemTypeGet(fs)
if fs == "swap":
- mnt = "swap"
+ mnt = None
# more forced swap format hacking
format = 1
else:
@@ -269,7 +269,7 @@ class Partitions:
fsystem = fsset.fileSystemTypeGet(fs)
if fs == "swap":
- mnt = "swap"
+ mnt = None
format = 1
else:
mnt = None