pykickstart.commands.bootloader
index
/usr/lib/python2.6/site-packages/pykickstart/commands/bootloader.py

# Chris Lumens <clumens@redhat.com>
#
# Copyright 2007 Red Hat, Inc.
#
# This copyrighted material is made available to anyone wishing to use, modify,
# copy, or redistribute it subject to the terms and conditions of the GNU
# General Public License v.2.  This program is distributed in the hope that it
# will be useful, but WITHOUT ANY WARRANTY expressed or implied, including the
# implied warranties of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
# See the GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License along with
# this program; if not, write to the Free Software Foundation, Inc., 51
# Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.  Any Red Hat
# trademarks that are incorporated in the source code or documentation are not
# subject to the GNU General Public License and may only be used or replicated
# with the express permission of Red Hat, Inc. 
#

 
Modules
       
gettext
imputil
re
string
sys
warnings

 
Classes
       
pykickstart.base.KickstartCommand(pykickstart.ko.KickstartObject)
FC3_Bootloader
FC4_Bootloader
F8_Bootloader
F12_Bootloader
RHEL5_Bootloader

 
class F12_Bootloader(F8_Bootloader)
    
Method resolution order:
F12_Bootloader
F8_Bootloader
FC4_Bootloader
FC3_Bootloader
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Data and other attributes defined here:
removedAttrs = ['linear', 'useLilo']
removedKeywords = ['linear', 'useLilo']

Methods inherited from F8_Bootloader:
__init__(self, writePriority=10, *args, **kwargs)

Methods inherited from FC4_Bootloader:
parse(self, args)

Methods inherited from FC3_Bootloader:
__str__(self)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
dataList(self)
For commands that can occur multiple times in a single kickstart
file (like network, part, etc.), return the list that we should
append more data objects to.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class F8_Bootloader(FC4_Bootloader)
    
Method resolution order:
F8_Bootloader
FC4_Bootloader
FC3_Bootloader
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=10, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = ['linear', 'useLilo']
removedKeywords = ['linear', 'useLilo']

Methods inherited from FC4_Bootloader:
parse(self, args)

Methods inherited from FC3_Bootloader:
__str__(self)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
dataList(self)
For commands that can occur multiple times in a single kickstart
file (like network, part, etc.), return the list that we should
append more data objects to.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC3_Bootloader(pykickstart.base.KickstartCommand)
    
Method resolution order:
FC3_Bootloader
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=10, *args, **kwargs)
__str__(self)
parse(self, args)

Data and other attributes defined here:
removedAttrs = []
removedKeywords = []

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
dataList(self)
For commands that can occur multiple times in a single kickstart
file (like network, part, etc.), return the list that we should
append more data objects to.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class FC4_Bootloader(FC3_Bootloader)
    
Method resolution order:
FC4_Bootloader
FC3_Bootloader
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=10, *args, **kwargs)
parse(self, args)

Data and other attributes defined here:
removedAttrs = ['linear', 'useLilo']
removedKeywords = ['linear', 'useLilo']

Methods inherited from FC3_Bootloader:
__str__(self)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
dataList(self)
For commands that can occur multiple times in a single kickstart
file (like network, part, etc.), return the list that we should
append more data objects to.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
class RHEL5_Bootloader(FC4_Bootloader)
    
Method resolution order:
RHEL5_Bootloader
FC4_Bootloader
FC3_Bootloader
pykickstart.base.KickstartCommand
pykickstart.ko.KickstartObject
__builtin__.object

Methods defined here:
__init__(self, writePriority=10, *args, **kwargs)

Data and other attributes defined here:
removedAttrs = ['linear', 'useLilo']
removedKeywords = ['linear', 'useLilo']

Methods inherited from FC4_Bootloader:
parse(self, args)

Methods inherited from FC3_Bootloader:
__str__(self)

Methods inherited from pykickstart.base.KickstartCommand:
__call__(self, *args, **kwargs)
Set multiple attributes on a subclass of KickstartCommand at once
via keyword arguments.  Valid attributes are anything specified in
a subclass, but unknown attributes will be ignored.
apply(self, instroot='/')
Write out the configuration related to the KickstartCommand object.
Subclasses which do not provide this method will not have their
configuration written out.
dataList(self)
For commands that can occur multiple times in a single kickstart
file (like network, part, etc.), return the list that we should
append more data objects to.
deleteRemovedAttrs(self)
Remove all attributes from self that are given in the removedAttrs
list.  This method should be called from __init__ in a subclass,
but only after the superclass's __init__ method has been called.

Data descriptors inherited from pykickstart.ko.KickstartObject:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)

 
Data
        BOOTPROTO_BOOTP = 'bootp'
BOOTPROTO_DHCP = 'dhcp'
BOOTPROTO_QUERY = 'query'
BOOTPROTO_STATIC = 'static'
CLEARPART_TYPE_ALL = 1
CLEARPART_TYPE_LINUX = 0
CLEARPART_TYPE_NONE = 2
DEVEL = 11000
DISPLAY_MODE_CMDLINE = 0
DISPLAY_MODE_GRAPHICAL = 1
DISPLAY_MODE_TEXT = 2
F10 = 8000
F11 = 9000
F12 = 10000
F13 = 11000
F7 = 5000
F8 = 6000
F9 = 7000
FC3 = 1000
FC4 = 2000
FC5 = 3000
FC6 = 4000
FIRSTBOOT_DEFAULT = 0
FIRSTBOOT_RECONFIG = 2
FIRSTBOOT_SKIP = 1
GROUP_ALL = 2
GROUP_DEFAULT = 1
GROUP_REQUIRED = 0
KS_INSTKEY_SKIP = -99
KS_MISSING_IGNORE = 1
KS_MISSING_PROMPT = 0
KS_REBOOT = 1
KS_SCRIPT_POST = 1
KS_SCRIPT_PRE = 0
KS_SCRIPT_TRACEBACK = 2
KS_SHUTDOWN = 2
KS_WAIT = 0
RHEL3 = 900
RHEL4 = 1100
RHEL5 = 4100
RHEL6 = 11100
SELINUX_DISABLED = 0
SELINUX_ENFORCING = 1
SELINUX_PERMISSIVE = 2
SUPPRESS_HELP = 'SUPPRESSHELP'
SUPPRESS_USAGE = 'SUPPRESSUSAGE'
versionMap = {'DEVEL': 11000, 'F10': 8000, 'F11': 9000, 'F12': 10000, 'F13': 11000, 'F7': 5000, 'F8': 6000, 'F9': 7000, 'FC3': 1000, 'FC4': 2000, ...}