From Fedora Project Wiki
Line 55: | Line 55: | ||
##where to find the AutoQA arguments? | ##where to find the AutoQA arguments? | ||
==Kick Start Options== | ==Kick Start Options== | ||
The kick start options are below <ref> Kick start options: http://fedoraproject.org/wiki/Anaconda/Kickstart</ref>: | |||
{| class="wikitable collapsible collapsed" border="1" width="85%" | |||
! colspan="6"|Install Kick start options | |||
|- | |||
! Operation !!Options!! Values !! Description !! Required !! Typical | |||
|- | |||
| rowspan=28 style="font-style:italic; font-size:120%; background-color:green;" | Template (these options has been written in kickstart template.) | |||
|- | |||
| rowspan=2 style="font-style:italic;background-color:green;"| mode | |||
|style="font-style:italic;" | text | |||
| | |||
| | |||
| style="font-style:italic;" |text | |||
|- | |||
| style="font-style:italic;background-color:green;"|graphical | |||
|style="background-color:green;"| | |||
|style="background-color:green;" | | |||
|style="font-style:italic;background-color:green;"| graphical | |||
|- | |||
|style="font-style:italic;background-color:green;"|reboot | |||
| style="font-style:italic;background-color:green;"|--reject | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"| | |||
| style="font-style:italic;background-color:green;"|reboot | |||
|- | |||
|rowspan="3" style="font-style:italic;" |firstboot | |||
|style="font-style:italic;" | --enable or --enabled | |||
| | |||
|rowspan="3" style="font-style:italic;" |no | |||
|rowspan="3"style="font-style:italic;" | | |||
|- | |||
|style="font-style:italic;" | --disable or --disabled | |||
| | |||
|- | |||
| style="font-style:italic;" |--reconfig | |||
| | |||
|- | |||
|style="font-style:italic;" |shutdown | |||
| | |||
| | |||
| | |||
|style="font-style:italic;" |shutdown | |||
|- | |||
|style="font-style:italic;" |poweroff | |||
| | |||
| | |||
|style="font-style:italic;" |no | |||
|style="font-style:italic;" |poweroff | |||
|- | |||
|style="font-style:italic;" |halt | |||
| | |||
| | |||
|style="font-style:italic;" |no | |||
|style="font-style:italic;" |halt | |||
|- | |||
|style="font-style:italic;background-color:green;"|keyboard | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;" |keyboard us | |||
|- | |||
|style="font-style:italic;background-color:green;"|lang | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;"|lang en_US.UTF-8 | |||
|- | |||
|style="font-style:italic;background-color:green;"|timezone | |||
|style="font-style:italic;background-color:green;" | --utc | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;"|timezone --utc America/New_York | |||
|- | |||
|style="font-style:italic;background-color:green;" rowspan="2"|rootpw | |||
|style="font-style:italic;background-color:green;"| --iscrypted/--plaintext | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"|rootpw --iscrypted $1$Cuh1FaJT$ogG37tqIhVDeq27uvfAYK1 | |||
|- | |||
|style="font-style:italic;" | --lock | |||
| | |||
| | |||
| | |||
|- | |||
|rowspan="4" style="background-color:green;font-style:italic;" |install | |||
|style="background-color:green;font-style:italic;" | url | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"|url --url | |||
|- | |||
|style="background-color:#66FF00;font-style:italic;" |cdrom | |||
|style="background-color:#66FF00;font-style:italic;" | | |||
|style="background-color:#66FF00;font-style:italic;" | | |||
|style="background-color:#66FF00;font-style:italic;" | cdrom | |||
|- | |||
|style="background-color:lightgreen;font-style:italic;" | harddrive | |||
|style="background-color:lightgreen;font-style:italic;" | | |||
|style="background-color:lightgreen;font-style:italic;" | | |||
|style="background-color:lightgreen;font-style:italic;" | | |||
|- | |||
|style="background-color:lightgreen;font-style:italic;" | nfs | |||
|style="background-color:lightgreen;font-style:italic;" | | |||
|style="background-color:lightgreen;font-style:italic;" | | |||
|style="background-color:lightgreen;font-style:italic;" | | |||
|- | |||
|rowspan="3" style="font-style:italic;background-color:green;"|selinux | |||
|style="font-style:italic;"|--disabled | |||
|style="font-style:italic;" | |||
|style="font-style:italic;"| | |||
|style="font-style:italic;" | | |||
|- | |||
| style="font-style:italic;" |--enforcing | |||
| | |||
| | |||
| | |||
|- | |||
| style="font-style:italic;background-color:green;"|--permissive | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;" | | |||
|style="font-style:italic;background-color:green;" | selinux --permissive | |||
|- | |||
|rowspan="6" style="font-style:italic;background-color:green;"|firewall | |||
| style="font-style:italic;" |--enabled or --enable | |||
| | |||
|style="font-style:italic;" | | |||
|style="font-style:italic;" | | |||
|- | |||
|style="background-color:green;font-style:italic;" | --disabled or --disable | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"| | |||
|style="font-style:italic;background-color:green;"|firewall --disabled | |||
|- | |||
|style="font-style:italic;" | --trust= | |||
| | |||
| | |||
| | |||
|- | |||
| style="font-style:italic;" |<incoming> | |||
| | |||
| | |||
| | |||
|- | |||
| style="font-style:italic;" | --port= | |||
| | |||
| | |||
| | |||
|- | |||
|style="font-style:italic;" | --service= | |||
| | |||
| | |||
| | |||
|- | |||
|rowspan=40 style="background-color:green;" | Disk Partition | |||
|- | |||
| rowspan="5" style="background-color:green;"|clearpart | |||
| style="background-color:green;" |--all | |||
| style="background-color:green;" | | |||
| style="background-color:green;" | | |||
| style="background-color:green;" | | |||
|- | |||
| --drives | |||
| | |||
| | |||
| | |||
|- | |||
| --initlabel | |||
| | |||
| | |||
| | |||
|- | |||
| --linux | |||
| | |||
| | |||
| | |||
|- | |||
| --none | |||
| | |||
| | |||
| | |||
|- | |||
|style="background-color:green;font-style:italic;" |zerombr | |||
|style="background-color:green;font-style:italic;" |zerombr | |||
|style="background-color:green;font-style:italic;" | | |||
|style="background-color:green;font-style:italic;" | | |||
|style="background-color:green;font-style:italic;" |zerombr | |||
|- | |||
|rowspan="2" style="background-color:green;" |autopart | |||
|style="background-color:green;"| | |||
|style="background-color:green;"| | |||
|style="background-color:green;"| | |||
|style="background-color:green;"|autopart | |||
|- | |||
|style="background-color:#66FF00;" |--encrypted --passphrase | |||
|style="background-color:#66FF00;" | | |||
|style="background-color:#66FF00;" | | |||
|style="background-color:#66FF00;" | | |||
|- | |||
| rowspan="17" style="background-color:#66FF00;" |part or partition | |||
| --size | |||
| | |||
| | |||
| | |||
|- | |||
| --grow | |||
| | |||
| | |||
| | |||
|- | |||
| --maxsize | |||
| | |||
| | |||
| | |||
|- | |||
| --noformat | |||
| | |||
| | |||
| | |||
|- | |||
| --onpart= or --usepart= | |||
| | |||
| | |||
| | |||
|- | |||
| --ondisk= or --ondrive= | |||
| | |||
| | |||
| | |||
|- | |||
| --asprimary | |||
| | |||
| | |||
| | |||
|- | |||
| --fsprofile= | |||
| | |||
| | |||
| | |||
|- | |||
| --fstype= | |||
| | |||
| | |||
| | |||
|- | |||
| --fsoptions= | |||
| | |||
| | |||
| | |||
|- | |||
| --label= | |||
| | |||
| | |||
| | |||
|- | |||
| --recommended | |||
| | |||
| | |||
| | |||
|- | |||
| --onbiosdisk= | |||
| | |||
| | |||
| | |||
|- | |||
| --encrypted | |||
| | |||
| | |||
| | |||
|- | |||
| --passphrase= | |||
| | |||
| | |||
| | |||
|- | |||
| --escrowcert=<url> | |||
| | |||
| | |||
| | |||
|- | |||
| --backuppassphrase | |||
| | |||
| | |||
| | |||
|- | |||
| rowspan="12"| raid | |||
| --level | |||
| | |||
| rowspan="12"|no | |||
| rowspan="12"| | |||
|- | |||
| --device | |||
| | |||
|- | |||
| --spares= | |||
| | |||
|- | |||
| --fstype | |||
| | |||
|- | |||
| --fsoptions | |||
| | |||
|- | |||
| --label= | |||
| | |||
|- | |||
| --noformat | |||
| | |||
|- | |||
| --useexisting | |||
| | |||
|- | |||
| --encrypted | |||
| | |||
|- | |||
| --passphrase= | |||
| | |||
|- | |||
| --escrowcert=<url> | |||
| | |||
|- | |||
| --backuppassphrase | |||
| | |||
|- | |||
| rowspan="2"|ignoredisk | |||
| ignoredisk --drives=[disk1,disk2,...] | |||
| | |||
| rowspan="2"| | |||
| rowspan="2"| | |||
|- | |||
| ignoredisk --only-use=[disk1,disk2,...] | |||
| | |||
|- | |||
| rowspan="9" |repo | |||
| --name= | |||
| | |||
| rowspan="9" | | |||
| rowspan="9" | | |||
|- | |||
| --baseurl= | |||
| | |||
|- | |||
| --mirrorlist= | |||
| | |||
|- | |||
| --cost= | |||
| | |||
|- | |||
| --excludepkgs= | |||
| | |||
|- | |||
| --includepkgs= | |||
| | |||
|- | |||
| --proxy=[protocol://][username[:password]@]host[:port] | |||
| | |||
|- | |||
| --ignoregroups=true | |||
| | |||
|- | |||
| --noverifyssl | |||
| | |||
|- | |||
|autostep | |||
| --autoscreenshot | |||
| | |||
|no | |||
| | |||
|- | |||
|rowspan="7"|bootloader | |||
| --append | |||
| | |||
|rowspan="7"|yes | |||
|rowspan="7"| | |||
|- | |||
| --driveorder | |||
| | |||
|- | |||
| --location | |||
| | |||
|- | |||
| --password | |||
| | |||
|- | |||
| --md5pass | |||
| | |||
|- | |||
| --upgrade | |||
| | |||
|- | |||
| --timeout | |||
| | |||
|- | |||
|comdline | |||
| | |||
| | |||
| | |||
| | |||
|- | |||
|device | |||
| --opts | |||
| | |||
| | |||
| | |||
|- | |||
|dmraid | |||
| dmraid --name= --dev= | |||
| | |||
| | |||
| | |||
|- | |||
|group | |||
|group --name=<name> [--gid=<gid>] | |||
| | |||
| | |||
| | |||
|- | |||
| rowspan="3" |logging | |||
| --host= | |||
| | |||
| rowspan="3" |no | |||
| rowspan="3" | | |||
|- | |||
| --port= | |||
| | |||
|- | |||
| --level= | |||
| | |||
|- | |||
|rescue | |||
|rescue [--nomount|--romount] | |||
| | |||
|no | |||
| | |||
|- | |||
|rowspan="3" |sshpw | |||
| --username | |||
| | |||
|rowspan="3" |no | |||
|rowspan="3" | | |||
|- | |||
| --iscrypted|--plaintext | |||
| | |||
|- | |||
| --lock | |||
| | |||
|- | |||
|skipx | |||
|skipx | |||
| | |||
|no | |||
|skipx | |||
|- | |||
|updates | |||
|updates [URL] | |||
| | |||
| | |||
| | |||
|- | |||
| rowspan="2" |services | |||
| --enabled= | |||
| | |||
| rowspan="2" |no | |||
| rowspan="2" | | |||
|- | |||
| --disabled= | |||
| | |||
|- | |||
|rowspan="9" |user | |||
| --name= | |||
| | |||
|rowspan="9" |no | |||
|rowspan="9" | | |||
|- | |||
| --gecos= | |||
| | |||
|- | |||
| --groups= | |||
| | |||
|- | |||
| --homedir= | |||
| | |||
|- | |||
| --lock | |||
| | |||
|- | |||
| --password= | |||
| | |||
|- | |||
| --iscrypted|--plaintext | |||
| | |||
|- | |||
| --shell= | |||
| | |||
|- | |||
| --uid= | |||
| | |||
|- | |||
|rowspan="3"|vnc | |||
| --host= | |||
| | |||
|rowspan="3"|no | |||
|rowspan="3"| | |||
|- | |||
| --port= | |||
| | |||
|- | |||
| --password= | |||
| | |||
|- | |||
|rowspan="4"|volgroup | |||
|<name> | |||
| | |||
|rowspan="4"|no | |||
|rowspan="4"| | |||
|- | |||
| --noformat | |||
| | |||
|- | |||
| --useexiting | |||
| | |||
|- | |||
| --pesize | |||
| | |||
|- | |||
|rowspan="2"|xconfig | |||
| --defaultdesktop= | |||
| | |||
|rowspan="2"| | |||
|rowspan="2"| | |||
|- | |||
| --startxonboot | |||
| | |||
|- | |||
|rowspan="3"|zfcp | |||
| --devnum= | |||
| | |||
|rowspan="3"| | |||
|rowspan="3"| | |||
|- | |||
| --fcplun= | |||
| | |||
|- | |||
| --wwpn= | |||
| | |||
|} |
Revision as of 05:14, 17 March 2011
About
Thanks for visiting my page! I am a Fedora Quality Assurance Engineer and now I am working on the project Fedora installation test automation.
FAS name: hongqing
Email: hoyang@redhat.com
IRC channel: #fedora-qa,#fedora-meeting,#fedora-test-day
Auto Test
- auto test: http://autotest.kernel.org
- autoQA: http://fedoraproject.org/wiki/AutoQA
- writing autoQA test: http://fedoraproject.org/wiki/Writing_AutoQA_Tests
- verifying autoQA test:http://fedoraproject.org/wiki/Verifying_AutoQA_tests
Languages
- Python
- Style Guide for Python Code:http://www.python.org/dev/peps/pep-0008/
Virtualization
- get started with virtualization:http://fedoraproject.org/wiki/Virtualization_Quick_Start
- libvirt: http://libvirt.org/index.html
- virt-manager:http://virt-manager.et.redhat.com/
- KVM:http://www.linux-kvm.org/page/Main_Page
Fedora Installation Test Automation
- Fedora Desktop
- GNOME,KDE,LXDE,Xfce
- Fedora Installation methods:
- CD/DVD
- Hard Drive
- HTTP Server, FTP Server, NFS Server
- ISO images on NFS Server.
- Live USB
- Fedora Support Platform
- x86
- x86_64
- IA64
- ARM
- Fedora Support CPUs
- Macintosh
- Intel, AMD
- ...
It seems huge, if we wanna cover all!
- Platform
- virt-manager/lib-virt+KVM
- Development
- trigger Testing, refer the current test events being monitored: http://git.fedorahosted.org/git/?p=autoqa.git;a=tree;f=hooks
- Check installation media, refer QA:Installer image presence test case http://fedoraproject.org/wiki/QA:Installer_image_presence_test_case
- detect the prerequirements (arch etc) of the Fedora installation and create the suitable KVM machines.
- start to install fedora (which installation mode to choose)
- log the test result. (cases: installation successes, exception occurs but not block the installation, exception occurs and blocks the installation).
- Works need to do
- explore trigger (AutoQA current monitored events)
- check installation media (This has been done in AutoQA, still need to explore how to call it.)
- access the AutoTest Server from AutoQA client and explore the Python libraries of AutoQA, such as util etc, but it seems there is no documentation.
- explore the files of Fedora, such as .treeinfo, initrd etc. which I need to deal during development.
- Questions
- where to find the AutoQA arguments?
Kick Start Options
The kick start options are below [1]:
Install Kick start options | |||||
---|---|---|---|---|---|
Operation | Options | Values | Description | Required | Typical |
Template (these options has been written in kickstart template.) | |||||
mode | text | text | |||
graphical | graphical | ||||
reboot | --reject | reboot | |||
firstboot | --enable or --enabled | no | |||
--disable or --disabled | |||||
--reconfig | |||||
shutdown | shutdown | ||||
poweroff | no | poweroff | |||
halt | no | halt | |||
keyboard | keyboard us | ||||
lang | lang en_US.UTF-8 | ||||
timezone | --utc | timezone --utc America/New_York | |||
rootpw | --iscrypted/--plaintext | rootpw --iscrypted $1$Cuh1FaJT$ogG37tqIhVDeq27uvfAYK1 | |||
--lock | |||||
install | url | url --url | |||
cdrom | cdrom | ||||
harddrive | |||||
nfs | |||||
selinux | --disabled | style="font-style:italic;" | |||
--enforcing | |||||
--permissive | selinux --permissive | ||||
firewall | --enabled or --enable | ||||
--disabled or --disable | firewall --disabled | ||||
--trust= | |||||
<incoming> | |||||
--port= | |||||
--service= | |||||
Disk Partition | |||||
clearpart | --all | ||||
--drives | |||||
--initlabel | |||||
--linux | |||||
--none | |||||
zerombr | zerombr | zerombr | |||
autopart | autopart | ||||
--encrypted --passphrase | |||||
part or partition | --size | ||||
--grow | |||||
--maxsize | |||||
--noformat | |||||
--onpart= or --usepart= | |||||
--ondisk= or --ondrive= | |||||
--asprimary | |||||
--fsprofile= | |||||
--fstype= | |||||
--fsoptions= | |||||
--label= | |||||
--recommended | |||||
--onbiosdisk= | |||||
--encrypted | |||||
--passphrase= | |||||
--escrowcert=<url> | |||||
--backuppassphrase | |||||
raid | --level | no | |||
--device | |||||
--spares= | |||||
--fstype | |||||
--fsoptions | |||||
--label= | |||||
--noformat | |||||
--useexisting | |||||
--encrypted | |||||
--passphrase= | |||||
--escrowcert=<url> | |||||
--backuppassphrase | |||||
ignoredisk | ignoredisk --drives=[disk1,disk2,...] | ||||
ignoredisk --only-use=[disk1,disk2,...] | |||||
repo | --name= | ||||
--baseurl= | |||||
--mirrorlist= | |||||
--cost= | |||||
--excludepkgs= | |||||
--includepkgs= | |||||
--proxy=[protocol://][username[:password]@]host[:port] | |||||
--ignoregroups=true | |||||
--noverifyssl | |||||
autostep | --autoscreenshot | no | |||
bootloader | --append | yes | |||
--driveorder | |||||
--location | |||||
--password | |||||
--md5pass | |||||
--upgrade | |||||
--timeout | |||||
comdline | |||||
device | --opts | ||||
dmraid | dmraid --name= --dev= | ||||
group | group --name=<name> [--gid=<gid>] | ||||
logging | --host= | no | |||
--port= | |||||
--level= | |||||
rescue | --romount] | no | |||
sshpw | --username | no | |||
--plaintext | |||||
--lock | |||||
skipx | skipx | no | skipx | ||
updates | updates [URL] | ||||
services | --enabled= | no | |||
--disabled= | |||||
user | --name= | no | |||
--gecos= | |||||
--groups= | |||||
--homedir= | |||||
--lock | |||||
--password= | |||||
--plaintext | |||||
--shell= | |||||
--uid= | |||||
vnc | --host= | no | |||
--port= | |||||
--password= | |||||
volgroup | <name> | no | |||
--noformat | |||||
--useexiting | |||||
--pesize | |||||
xconfig | --defaultdesktop= | ||||
--startxonboot | |||||
zfcp | --devnum= | ||||
--fcplun= | |||||
--wwpn= |
- ↑ Kick start options: http://fedoraproject.org/wiki/Anaconda/Kickstart