Bug 17777

Summary: part --asprimary 1 python error
Product: [Retired] Red Hat Linux Reporter: Matt Domsch <matt_domsch>
Component: anacondaAssignee: Brent Fox <bfox>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: 7.3   
Target Milestone: ---   
Target Release: ---   
Hardware: ia64   
OS: Linux   
Whiteboard: Florence Gold
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-06 16:45:49 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Matt Domsch 2000-09-21 20:02:37 UTC
Using Red Hat IA-64 09/21/00 CD

The --asprimary 1 flag to part generates this python error:
"partition command requires one anonymous argument"

                zerombr yes
                clearpart --all
                part /boot/efi --size 100       --ondisk sda --type 6
--asprimary 1
                part /         --size 512       --ondisk sda
                part /usr      --size 3072      --ondisk sda
                part swap      --size 512       --ondisk sda
                part /tmp      --size 256       --ondisk sda
                part /var      --size 256       --ondisk sda --grow

Comment 1 Michael Fulbright 2000-09-25 19:43:11 UTC
Do you have a newline between '--type 6' and '--asprimary' ?


Comment 2 Matt Domsch 2000-09-25 21:08:27 UTC
No, the above newline is a figment of the cut-n-paste.
Thanks!

Comment 3 Michael Fulbright 2000-09-29 16:19:13 UTC
Brent please verify.

Comment 4 Glen Foster 2001-01-11 21:03:05 UTC
This defect is considered MUST-FIX for Florence Gold release

Comment 5 Michael Fulbright 2001-02-01 23:55:42 UTC
Sorry to take so long...

--asprimary does not take an argument, you would like to use --onprimary.