From d1b28b3cfe0f69b03479827e70310a9080cb00ff Mon Sep 17 00:00:00 2001 From: Jeremy Katz Date: Thu, 4 Oct 2001 15:39:06 +0000 Subject: make cleardrive accept multiple drives properly (#54293) --- kickstart.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kickstart.py') diff --git a/kickstart.py b/kickstart.py index c8ad3fcdd..ae6b239af 100644 --- a/kickstart.py +++ b/kickstart.py @@ -597,8 +597,8 @@ class KickstartBase(BaseInstallClass): type = CLEARPART_TYPE_LINUX elif str == '--all': type = CLEARPART_TYPE_ALL - elif str == '--drive': - drives = arg + elif str == '--drives': + drives = string.split(arg, ',') elif str == '--initlabel': initAll = 1 @@ -679,7 +679,7 @@ class KickstartBase(BaseInstallClass): end = None badblocks = None recommended = None - + (args, extra) = isys.getopt(args, '', [ 'size=', 'maxsize=', 'grow', 'onpart=', 'ondisk=', 'bytes-per-inode=', 'usepart=', -- cgit