2 # Chris Lumens <clumens@redhat.com>
4 # Copyright 2007 Red Hat, Inc.
6 # This copyrighted material is made available to anyone wishing to use, modify,
7 # copy, or redistribute it subject to the terms and conditions of the GNU
8 # General Public License v.2. This program is distributed in the hope that it
9 # will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
10 # implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
11 # See the GNU General Public License for more details.
13 # You should have received a copy of the GNU General Public License along with
14 # this program; if not, write to the Free Software Foundation, Inc., 51
15 # Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Any Red Hat
16 # trademarks that are incorporated in the source code or documentation are not
17 # subject to the GNU General Public License and may only be used or replicated
18 # with the express permission of Red Hat, Inc.
20 __all__
= ["RHEL5Handler"]
22 from pykickstart
import commands
23 from pykickstart
.base
import BaseHandler
24 from pykickstart
.version
import RHEL5
26 class RHEL5Handler(BaseHandler
):
30 "auth": commands
.authconfig
.FC3_Authconfig
,
31 "authconfig": commands
.authconfig
.FC3_Authconfig
,
32 "autopart": commands
.autopart
.F9_AutoPart
,
33 "autostep": commands
.autostep
.FC3_AutoStep
,
34 "bootloader": commands
.bootloader
.RHEL5_Bootloader
,
35 "cdrom": commands
.cdrom
.FC3_Cdrom
,
36 "clearpart": commands
.clearpart
.FC3_ClearPart
,
37 "cmdline": commands
.displaymode
.FC3_DisplayMode
,
38 "device": commands
.device
.FC3_Device
,
39 "deviceprobe": commands
.deviceprobe
.FC3_DeviceProbe
,
40 "dmraid": commands
.dmraid
.FC6_DmRaid
,
41 "driverdisk": commands
.driverdisk
.F12_DriverDisk
,
42 "firewall": commands
.firewall
.FC3_Firewall
,
43 "firstboot": commands
.firstboot
.FC3_Firstboot
,
44 "graphical": commands
.displaymode
.FC3_DisplayMode
,
45 "halt": commands
.reboot
.FC6_Reboot
,
46 "harddrive": commands
.harddrive
.FC3_HardDrive
,
47 "ignoredisk": commands
.ignoredisk
.F8_IgnoreDisk
,
48 "install": commands
.upgrade
.FC3_Upgrade
,
49 "interactive": commands
.interactive
.FC3_Interactive
,
50 "iscsi": commands
.iscsi
.FC6_Iscsi
,
51 "iscsiname": commands
.iscsiname
.FC6_IscsiName
,
52 "key": commands
.key
.RHEL5_Key
,
53 "keyboard": commands
.keyboard
.FC3_Keyboard
,
54 "lang": commands
.lang
.FC3_Lang
,
55 "langsupport": commands
.langsupport
.FC5_LangSupport
,
56 "logging": commands
.logging
.FC6_Logging
,
57 "logvol": commands
.logvol
.RHEL5_LogVol
,
58 "mediacheck": commands
.mediacheck
.FC4_MediaCheck
,
59 "method": commands
.method
.FC6_Method
,
60 "monitor": commands
.monitor
.FC6_Monitor
,
61 "mouse": commands
.mouse
.FC3_Mouse
,
62 "multipath": commands
.multipath
.FC6_MultiPath
,
63 "network": commands
.network
.RHEL5_Network
,
64 "nfs": commands
.nfs
.FC6_NFS
,
65 "part": commands
.partition
.RHEL5_Partition
,
66 "partition": commands
.partition
.RHEL5_Partition
,
67 "poweroff": commands
.reboot
.FC6_Reboot
,
68 "raid": commands
.raid
.RHEL5_Raid
,
69 "reboot": commands
.reboot
.FC6_Reboot
,
70 "repo": commands
.repo
.FC6_Repo
,
71 "rootpw": commands
.rootpw
.FC3_RootPw
,
72 "services": commands
.services
.FC6_Services
,
73 "selinux": commands
.selinux
.FC3_SELinux
,
74 "shutdown": commands
.reboot
.FC6_Reboot
,
75 "skipx": commands
.skipx
.FC3_SkipX
,
76 "text": commands
.displaymode
.FC3_DisplayMode
,
77 "timezone": commands
.timezone
.FC6_Timezone
,
78 "upgrade": commands
.upgrade
.FC3_Upgrade
,
79 "user": commands
.user
.FC6_User
,
80 "url": commands
.url
.FC3_Url
,
81 "vnc": commands
.vnc
.FC6_Vnc
,
82 "volgroup": commands
.volgroup
.FC3_VolGroup
,
83 "xconfig": commands
.xconfig
.FC6_XConfig
,
84 "zerombr": commands
.zerombr
.FC3_ZeroMbr
,
85 "zfcp": commands
.zfcp
.FC3_ZFCP
,
89 "DriverDiskData": commands
.driverdisk
.F12_DriverDiskData
,
90 "DmRaidData": commands
.dmraid
.FC6_DmRaidData
,
91 "IscsiData": commands
.iscsi
.FC6_IscsiData
,
92 "LogVolData": commands
.logvol
.RHEL5_LogVolData
,
93 "MultiPathData": commands
.multipath
.FC6_MultiPathData
,
94 "NetworkData": commands
.network
.FC6_NetworkData
,
95 "PartData": commands
.partition
.RHEL5_PartData
,
96 "RaidData": commands
.raid
.RHEL5_RaidData
,
97 "RepoData": commands
.repo
.FC6_RepoData
,
98 "UserData": commands
.user
.FC6_UserData
,
99 "VolGroupData": commands
.volgroup
.FC3_VolGroupData
,
100 "ZFCPData": commands
.zfcp
.FC3_ZFCPData
,