summaryrefslogtreecommitdiffstats
path: root/kickstart.py
diff options
context:
space:
mode:
Diffstat (limited to 'kickstart.py')
-rw-r--r--kickstart.py3
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: