diff options
author | Jeremy Katz <katzj@redhat.com> | 2004-09-27 19:10:19 +0000 |
---|---|---|
committer | Jeremy Katz <katzj@redhat.com> | 2004-09-27 19:10:19 +0000 |
commit | 367ca94f3875d4ce8f60c46a3f1a02fdfab1a133 (patch) | |
tree | 115f946982aa13bb514621d7810a4aabe913c0ce /kickstart.py | |
parent | e865ed763057f73b03db1a12591f051a54121f1b (diff) | |
download | anaconda-367ca94f3875d4ce8f60c46a3f1a02fdfab1a133.tar.gz anaconda-367ca94f3875d4ce8f60c46a3f1a02fdfab1a133.tar.xz anaconda-367ca94f3875d4ce8f60c46a3f1a02fdfab1a133.zip |
2004-09-27 Jeremy Katz <katzj@redhat.com>
* kickstart.py (KickstartBase.definePartition): strip /dev from
--onpart (inspired by #121486)
Diffstat (limited to 'kickstart.py')
-rw-r--r-- | kickstart.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/kickstart.py b/kickstart.py index 087761fe4..f6a010424 100644 --- a/kickstart.py +++ b/kickstart.py @@ -1270,6 +1270,9 @@ class KickstartBase(BaseInstallClass): if badblocks: request.badblocks = badblocks if onPart: + # strip spurious /dev + if onPart.startswith("/dev/"): + onPart = onPart[5:] request.device = onPart for areq in id.partitions.autoPartitionRequests: if areq.device is not None and areq.device == onPart: |