~registry/pykickstart/trunk

« back to all changes in this revision

Viewing changes to pykickstart/handlers/f18.py

  • Committer: Chris Lumens
  • Date: 2014-10-22 14:19:44 UTC
  • Revision ID: git-v1:982498c0647c4bc3b4460209d4a76698c0eb6f8c
Add a note that the repo has moved.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#
2
 
# Vratislav Podzimek <vpodzime@redhat.com>
3
 
#
4
 
# Copyright 2012 Red Hat, Inc.
5
 
#
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.
12
 
#
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. 
19
 
#
20
 
__all__ = ["F18Handler"]
21
 
 
22
 
from pykickstart import commands
23
 
from pykickstart.base import BaseHandler
24
 
from pykickstart.version import F18
25
 
 
26
 
class F18Handler(BaseHandler):
27
 
    version = F18
28
 
 
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.F18_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.FC3_Lang,
56
 
        "logging": commands.logging.FC6_Logging,
57
 
        "logvol": commands.logvol.F18_LogVol,
58
 
        "mediacheck": commands.mediacheck.FC4_MediaCheck,
59
 
        "method": commands.method.F18_Method,
60
 
        "multipath": commands.multipath.FC6_MultiPath,
61
 
        "network": commands.network.F19_Network,
62
 
        "nfs": commands.nfs.FC6_NFS,
63
 
        "part": commands.partition.F18_Partition,
64
 
        "partition": commands.partition.F18_Partition,
65
 
        "poweroff": commands.reboot.F18_Reboot,
66
 
        "raid": commands.raid.F18_Raid,
67
 
        "reboot": commands.reboot.F18_Reboot,
68
 
        "repo": commands.repo.F15_Repo,
69
 
        "rescue": commands.rescue.F10_Rescue,
70
 
        "rootpw": commands.rootpw.F18_RootPw,
71
 
        "selinux": commands.selinux.FC3_SELinux,
72
 
        "services": commands.services.FC6_Services,
73
 
        "shutdown": commands.reboot.F18_Reboot,
74
 
        "skipx": commands.skipx.FC3_SkipX,
75
 
        "sshpw": commands.sshpw.F13_SshPw,
76
 
        "text": commands.displaymode.FC3_DisplayMode,
77
 
        "timezone": commands.timezone.F18_Timezone,
78
 
        "updates": commands.updates.F7_Updates,
79
 
        "upgrade": commands.upgrade.F11_Upgrade,
80
 
        "url": commands.url.F18_Url,
81
 
        "user": commands.user.F12_User,
82
 
        "vnc": commands.vnc.F9_Vnc,
83
 
        "volgroup": commands.volgroup.FC16_VolGroup,
84
 
        "xconfig": commands.xconfig.F14_XConfig,
85
 
        "zerombr": commands.zerombr.F9_ZeroMbr,
86
 
        "zfcp": commands.zfcp.F14_ZFCP,
87
 
    }
88
 
 
89
 
    dataMap = {
90
 
        "BTRFSData": commands.btrfs.F17_BTRFSData,
91
 
        "DriverDiskData": commands.driverdisk.F14_DriverDiskData,
92
 
        "DeviceData": commands.device.F8_DeviceData,
93
 
        "DmRaidData": commands.dmraid.FC6_DmRaidData,
94
 
        "FcoeData": commands.fcoe.RHEL7_FcoeData,
95
 
        "GroupData": commands.group.F12_GroupData,
96
 
        "IscsiData": commands.iscsi.F17_IscsiData,
97
 
        "LogVolData": commands.logvol.F18_LogVolData,
98
 
        "MultiPathData": commands.multipath.FC6_MultiPathData,
99
 
        "NetworkData": commands.network.F16_NetworkData,
100
 
        "PartData": commands.partition.F18_PartData,
101
 
        "RaidData": commands.raid.F18_RaidData,
102
 
        "RepoData": commands.repo.F15_RepoData,
103
 
        "SshPwData": commands.sshpw.F13_SshPwData,
104
 
        "UserData": commands.user.F12_UserData,
105
 
        "VolGroupData": commands.volgroup.FC16_VolGroupData,
106
 
        "ZFCPData": commands.zfcp.F14_ZFCPData,
107
 
    }