Take Makefile improvements from anaconda.
[pykickstart.git] / pykickstart / constants.py
blob68d28fe29f3e074a4e1617afa63fd20a0a866141
2 # Chris Lumens <clumens@redhat.com>
4 # Copyright 2005-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 CLEARPART_TYPE_LINUX = 0
21 CLEARPART_TYPE_ALL = 1
22 CLEARPART_TYPE_NONE = 2
24 DISPLAY_MODE_CMDLINE = 0
25 DISPLAY_MODE_GRAPHICAL = 1
26 DISPLAY_MODE_TEXT = 2
28 FIRSTBOOT_DEFAULT = 0
29 FIRSTBOOT_SKIP = 1
30 FIRSTBOOT_RECONFIG = 2
32 KS_MISSING_PROMPT = 0
33 KS_MISSING_IGNORE = 1
35 SELINUX_DISABLED = 0
36 SELINUX_ENFORCING = 1
37 SELINUX_PERMISSIVE = 2
39 KS_SCRIPT_PRE = 0
40 KS_SCRIPT_POST = 1
41 KS_SCRIPT_TRACEBACK = 2
43 KS_WAIT = 0
44 KS_REBOOT = 1
45 KS_SHUTDOWN = 2
47 KS_INSTKEY_SKIP = -99
49 BOOTPROTO_DHCP = "dhcp"
50 BOOTPROTO_BOOTP = "bootp"
51 BOOTPROTO_STATIC = "static"
53 GROUP_REQUIRED = 0
54 GROUP_DEFAULT = 1
55 GROUP_ALL = 2