The --asprimary flag to the kickstart 'part' command does not accept a parameter, unlike the --onprimary flag. But the Reference Guide mentions the same syntax as --onprimary.
In my opinion the documentation is right, but the implementation is wrong (I therfore suggest that this bug should be reassigned as an anaconda bug): Without the possibility to specifiy on what number a newly created partition should have, this option is not very useful. I'll try to find a good solution to what should be done, and post a followup.
A workable fix seems to be: --- O.kickstart.py Wed Jan 31 12:06:14 2001 +++ kickstart.py Wed Jan 31 12:06:57 2001 @@ -504,7 +504,7 @@ 'grow', 'onpart=', 'ondisk=', 'bytes-per-inode=', 'usepart=', 'onprimary=', 'active', 'type=', - 'asprimary', 'noformat']) + 'asprimary=', 'noformat']) for n in args: (str, arg) = n @@ -528,6 +528,7 @@ active = 1 elif str == "--asprimary": primOnly = 1 + partNum = int(arg) elif str == "--noformat": format = 0
Reassigned to anaconda component and changed summary to exclude the word documentation
--asprimary does NOT take arguments. --onprimary does.