Add new RHEL7 logvol objects to master
[pykickstart.git] / pykickstart / handlers / f19.py
blob5d731162eddff8d82e5ed17883f1e305b0809c17
2 # Chris Lumens <clumens@redhat.com>
4 # Copyright 2013 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__ = ["F19Handler"]
22 from pykickstart import commands
23 from pykickstart.base import BaseHandler
24 from pykickstart.version import F19
26 class F19Handler(BaseHandler):
27 version = F19
29 commandMap = {
30 "auth": commands.authconfig.FC3_Authconfig,
31 "authconfig": commands.authconfig.FC3_Authconfig,
32 "autopart": commands.autopart.F18_AutoPart,
33 "autostep": commands.autostep.FC3_AutoStep,
34 "bootloader": commands.bootloader.F19_Bootloader,
35 "btrfs": commands.btrfs.F17_BTRFS,
36 "cdrom": commands.cdrom.FC3_Cdrom,
37 "clearpart": commands.clearpart.F17_ClearPart,
38 "cmdline": commands.displaymode.FC3_DisplayMode,
39 "device": commands.device.F8_Device,
40 "deviceprobe": commands.deviceprobe.FC3_DeviceProbe,
41 "dmraid": commands.dmraid.FC6_DmRaid,
42 "driverdisk": commands.driverdisk.F14_DriverDisk,
43 "fcoe": commands.fcoe.F13_Fcoe,
44 "firewall": commands.firewall.F14_Firewall,
45 "firstboot": commands.firstboot.FC3_Firstboot,
46 "graphical": commands.displaymode.FC3_DisplayMode,
47 "group": commands.group.F12_Group,
48 "halt": commands.reboot.F18_Reboot,
49 "harddrive": commands.harddrive.FC3_HardDrive,
50 "ignoredisk": commands.ignoredisk.F14_IgnoreDisk,
51 "install": commands.upgrade.F11_Upgrade,
52 "iscsi": commands.iscsi.F17_Iscsi,
53 "iscsiname": commands.iscsiname.FC6_IscsiName,
54 "keyboard": commands.keyboard.F18_Keyboard,
55 "lang": commands.lang.F19_Lang,
56 "liveimg": commands.liveimg.F19_Liveimg,
57 "logging": commands.logging.FC6_Logging,
58 "logvol": commands.logvol.F18_LogVol,
59 "mediacheck": commands.mediacheck.FC4_MediaCheck,
60 "method": commands.method.F19_Method,
61 "multipath": commands.multipath.FC6_MultiPath,
62 "network": commands.network.F19_Network,
63 "nfs": commands.nfs.FC6_NFS,
64 "part": commands.partition.F18_Partition,
65 "partition": commands.partition.F18_Partition,
66 "poweroff": commands.reboot.F18_Reboot,
67 "raid": commands.raid.F19_Raid,
68 "realm": commands.realm.F19_Realm,
69 "reboot": commands.reboot.F18_Reboot,
70 "repo": commands.repo.F15_Repo,
71 "rescue": commands.rescue.F10_Rescue,
72 "rootpw": commands.rootpw.F18_RootPw,
73 "selinux": commands.selinux.FC3_SELinux,
74 "services": commands.services.FC6_Services,
75 "shutdown": commands.reboot.F18_Reboot,
76 "skipx": commands.skipx.FC3_SkipX,
77 "sshpw": commands.sshpw.F13_SshPw,
78 "text": commands.displaymode.FC3_DisplayMode,
79 "timezone": commands.timezone.F18_Timezone,
80 "updates": commands.updates.F7_Updates,
81 "upgrade": commands.upgrade.F11_Upgrade,
82 "url": commands.url.F18_Url,
83 "user": commands.user.F19_User,
84 "vnc": commands.vnc.F9_Vnc,
85 "volgroup": commands.volgroup.FC16_VolGroup,
86 "xconfig": commands.xconfig.F14_XConfig,
87 "zerombr": commands.zerombr.F9_ZeroMbr,
88 "zfcp": commands.zfcp.F14_ZFCP,
91 dataMap = {
92 "BTRFSData": commands.btrfs.F17_BTRFSData,
93 "DriverDiskData": commands.driverdisk.F14_DriverDiskData,
94 "DeviceData": commands.device.F8_DeviceData,
95 "DmRaidData": commands.dmraid.FC6_DmRaidData,
96 "FcoeData": commands.fcoe.F13_FcoeData,
97 "GroupData": commands.group.F12_GroupData,
98 "IscsiData": commands.iscsi.F17_IscsiData,
99 "LogVolData": commands.logvol.F20_LogVolData,
100 "MultiPathData": commands.multipath.FC6_MultiPathData,
101 "NetworkData": commands.network.F19_NetworkData,
102 "PartData": commands.partition.F18_PartData,
103 "RaidData": commands.raid.F18_RaidData,
104 "RepoData": commands.repo.F15_RepoData,
105 "SshPwData": commands.sshpw.F13_SshPwData,
106 "UserData": commands.user.F19_UserData,
107 "VolGroupData": commands.volgroup.FC16_VolGroupData,
108 "ZFCPData": commands.zfcp.F14_ZFCPData,