diff options
author | Michael Janczyk | 2012-11-07 18:48:54 +0100 |
---|---|---|
committer | Michael Janczyk | 2012-11-07 18:48:54 +0100 |
commit | 9cbaf3a23a9791bc2d2c3a7fd3516922debfb464 (patch) | |
tree | f4a31ac193db18c77a4e42700242be247f0a77fd /src/installer/OpenSLX/OSSetup/Distro/Rhel.pm | |
parent | plymouth plugin updated to set the theme to the target system (diff) | |
download | core-9cbaf3a23a9791bc2d2c3a7fd3516922debfb464.tar.gz core-9cbaf3a23a9791bc2d2c3a7fd3516922debfb464.tar.xz core-9cbaf3a23a9791bc2d2c3a7fd3516922debfb464.zip |
added rhel, centos, scientific linux 5 and 6.
centos and sl are depending on rhel.
simple pxe menu for default blue look.
firmwares of other nw cards are copied now.
Diffstat (limited to 'src/installer/OpenSLX/OSSetup/Distro/Rhel.pm')
-rw-r--r-- | src/installer/OpenSLX/OSSetup/Distro/Rhel.pm | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/src/installer/OpenSLX/OSSetup/Distro/Rhel.pm b/src/installer/OpenSLX/OSSetup/Distro/Rhel.pm new file mode 100644 index 00000000..151542ee --- /dev/null +++ b/src/installer/OpenSLX/OSSetup/Distro/Rhel.pm @@ -0,0 +1,48 @@ +# Copyright (c) 2012 - OpenSLX GmbH +# +# This program is free software distributed under the GPL version 2. +# See http://openslx.org/COPYING +# +# If you have any feedback please consult http://openslx.org/feedback and +# send your suggestions, praise, or complaints to feedback@openslx.org +# +# General information about OpenSLX can be found at http://openslx.org/ +# ----------------------------------------------------------------------------- +# OSSetup/Distro/Rhel.pm +# - provides RHEL specific overrides of the OSSetup Distro API. +# ----------------------------------------------------------------------------- +package OpenSLX::OSSetup::Distro::Rhel; + +use strict; +use warnings; + +use base qw(OpenSLX::OSSetup::Distro::Base); + +use OpenSLX::Basics; + +################################################################################ +### interface methods +################################################################################ +sub new +{ + my $class = shift; + my $self = {}; + return bless $self, $class; +} + +sub initialize +{ + my $self = shift; + my $engine = shift; + + $self->SUPER::initialize($engine); + $self->{'packager-type'} = 'rpm'; + $self->{'meta-packager-type'} = $ENV{SLX_META_PACKAGER} || 'yum'; + $self->{'stage1c-faked-files'} = [ + '/etc/fstab', + '/etc/mtab', + ]; + return; +} + +1; |