Bug 17777 - part --asprimary 1 python error
Summary: part --asprimary 1 python error
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: anaconda
Version: 7.3
Hardware: ia64
OS: Linux
Target Milestone: ---
Assignee: Brent Fox
QA Contact:
Whiteboard: Florence Gold
Depends On:
TreeView+ depends on / blocked
Reported: 2000-09-21 20:02 UTC by Matt Domsch
Modified: 2008-05-01 15:37 UTC (History)
0 users

Clone Of:
Last Closed: 2001-02-06 16:45:49 UTC

Attachments (Terms of Use)

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.

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.

Note You need to log in before you can comment on or make changes to this bug.