summaryrefslogtreecommitdiffstats
path: root/installer/OpenSLX/OSExport/Distro
diff options
context:
space:
mode:
Diffstat (limited to 'installer/OpenSLX/OSExport/Distro')
-rw-r--r--installer/OpenSLX/OSExport/Distro/Any.pm56
-rw-r--r--installer/OpenSLX/OSExport/Distro/Base.pm18
-rw-r--r--installer/OpenSLX/OSExport/Distro/Debian.pm50
-rw-r--r--installer/OpenSLX/OSExport/Distro/Fedora.pm62
-rw-r--r--installer/OpenSLX/OSExport/Distro/Gentoo.pm50
-rw-r--r--installer/OpenSLX/OSExport/Distro/SUSE.pm158
-rw-r--r--installer/OpenSLX/OSExport/Distro/Ubuntu.pm54
7 files changed, 224 insertions, 224 deletions
diff --git a/installer/OpenSLX/OSExport/Distro/Any.pm b/installer/OpenSLX/OSExport/Distro/Any.pm
index bf780bb9..59de2f32 100644
--- a/installer/OpenSLX/OSExport/Distro/Any.pm
+++ b/installer/OpenSLX/OSExport/Distro/Any.pm
@@ -9,7 +9,7 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# Any.pm
-# - provides generic overrides of the OpenSLX OSExport API.
+# - provides generic overrides of the OpenSLX OSExport API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Any;
@@ -25,41 +25,41 @@ use OpenSLX::Basics;
################################################################################
sub new
{
- my $class = shift;
- my $self = {
- 'base-name' => 'any',
- };
- return bless $self, $class;
+ my $class = shift;
+ my $self = {
+ 'base-name' => 'any',
+ };
+ return bless $self, $class;
}
sub initDistroInfo
{
- my $self = shift;
+ my $self = shift;
- $self->{'export-filter'} = "
- - /var/tmp/*
- - /var/spool/*
- - /var/run/*
- - /var/lock/*
- - /var/log/*
- - /var/lib/xdm
- - /var/lib/smart
- - /var/cache/yum
- - /var/cache/man/*
- - /usr/share/vmware/*
- - /tmp/*
- - /sys/*
- - /proc/*
- - /mnt/*
- - /media/*
+ $self->{'export-filter'} = "
+ - /var/tmp/*
+ - /var/spool/*
+ - /var/run/*
+ - /var/lock/*
+ - /var/log/*
+ - /var/lib/xdm
+ - /var/lib/smart
+ - /var/cache/yum
+ - /var/cache/man/*
+ - /usr/share/vmware/*
+ - /tmp/*
+ - /sys/*
+ - /proc/*
+ - /mnt/*
+ - /media/*
+ /lib/modules/*/misc/vmblock.o
+ /lib/modules/*/misc/vmnet.o
+ /lib/modules/*/misc/vmmon.o
- - /lib/klibc/events/*
- - /boot/initrd*
- - /boot/grub
- ";
- return;
+ - /lib/klibc/events/*
+ - /boot/initrd*
+ - /boot/grub
+ ";
+ return;
}
1; \ No newline at end of file
diff --git a/installer/OpenSLX/OSExport/Distro/Base.pm b/installer/OpenSLX/OSExport/Distro/Base.pm
index 29659f09..b6fc1fae 100644
--- a/installer/OpenSLX/OSExport/Distro/Base.pm
+++ b/installer/OpenSLX/OSExport/Distro/Base.pm
@@ -9,15 +9,15 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# Base.pm
-# - provides empty base of the distro-specific part of the OpenSLX
-# OSExport API.
+# - provides empty base of the distro-specific part of the OpenSLX
+# OSExport API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Base;
use strict;
use warnings;
-our $VERSION = 1.01; # API-version . implementation-version
+our $VERSION = 1.01; # API-version . implementation-version
use OpenSLX::Basics;
@@ -26,18 +26,18 @@ use OpenSLX::Basics;
################################################################################
sub new
{
- confess "Creating OpenSLX::OSExport::Distro::Base-objects directly makes no sense!";
+ confess "Creating OpenSLX::OSExport::Distro::Base-objects directly makes no sense!";
}
sub initialize
{
- my $self = shift;
- my $engine = shift;
+ my $self = shift;
+ my $engine = shift;
- $self->{'engine'} = $engine;
+ $self->{'engine'} = $engine;
- $self->initDistroInfo();
- return;
+ $self->initDistroInfo();
+ return;
}
sub initDistroInfo
diff --git a/installer/OpenSLX/OSExport/Distro/Debian.pm b/installer/OpenSLX/OSExport/Distro/Debian.pm
index 4da68ffb..d1ae7d88 100644
--- a/installer/OpenSLX/OSExport/Distro/Debian.pm
+++ b/installer/OpenSLX/OSExport/Distro/Debian.pm
@@ -9,7 +9,7 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# Debian.pm
-# - provides Debian-specific overrides of the OpenSLX OSExport API.
+# - provides Debian-specific overrides of the OpenSLX OSExport API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Debian;
@@ -25,35 +25,35 @@ use OpenSLX::Basics;
################################################################################
sub new
{
- my $class = shift;
- my $self = {
- 'base-name' => 'debian',
- };
- return bless $self, $class;
+ my $class = shift;
+ my $self = {
+ 'base-name' => 'debian',
+ };
+ return bless $self, $class;
}
sub initDistroInfo
{
- my $self = shift;
+ my $self = shift;
- $self->{'export-filter'} = "
- - /var/tmp/*
- - /var/spool/*
- - /var/run/*
- - /var/log/*
- - /var/lib/xdm
- - /var/cache/man/*
- - /usr/share/vmware/*
- - /tmp/*
- - /sys/*
- - /proc/*
- - /mnt/*
- - /media/*
- - /lib/klibc/events/*
- - /boot/initrd*
- - /boot/grub
- ";
- return;
+ $self->{'export-filter'} = "
+ - /var/tmp/*
+ - /var/spool/*
+ - /var/run/*
+ - /var/log/*
+ - /var/lib/xdm
+ - /var/cache/man/*
+ - /usr/share/vmware/*
+ - /tmp/*
+ - /sys/*
+ - /proc/*
+ - /mnt/*
+ - /media/*
+ - /lib/klibc/events/*
+ - /boot/initrd*
+ - /boot/grub
+ ";
+ return;
}
1; \ No newline at end of file
diff --git a/installer/OpenSLX/OSExport/Distro/Fedora.pm b/installer/OpenSLX/OSExport/Distro/Fedora.pm
index a643c91a..4e8c0bf0 100644
--- a/installer/OpenSLX/OSExport/Distro/Fedora.pm
+++ b/installer/OpenSLX/OSExport/Distro/Fedora.pm
@@ -9,7 +9,7 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# Fedora.pm
-# - provides Fedora-specific overrides of the OpenSLX OSExport API.
+# - provides Fedora-specific overrides of the OpenSLX OSExport API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Fedora;
@@ -25,41 +25,41 @@ use OpenSLX::Basics;
################################################################################
sub new
{
- my $class = shift;
- my $self = {
- 'base-name' => 'fedora',
- };
- return bless $self, $class;
+ my $class = shift;
+ my $self = {
+ 'base-name' => 'fedora',
+ };
+ return bless $self, $class;
}
sub initDistroInfo
{
- my $self = shift;
+ my $self = shift;
- # TODO: check and refine this!
- $self->{'export-filter'} = "
- - /var/tmp/*
- - /var/spool/*
- - /var/run/*
- - /var/lock/*
- - /var/log/*
- - /var/lib/xdm
- - /var/lib/smart
- - /var/cache/yum
- - /var/cache/man/*
- - /usr/share/vmware/*
- - /tmp/*
- - /sys/*
- - /proc/*
- - /mnt/*
- - /media/*
- - /lib/klibc/events/*
- - /boot/initrd*
- - /boot/grub
- - *.rpmsave
- - *.rpmnew
- ";
- return;
+ # TODO: check and refine this!
+ $self->{'export-filter'} = "
+ - /var/tmp/*
+ - /var/spool/*
+ - /var/run/*
+ - /var/lock/*
+ - /var/log/*
+ - /var/lib/xdm
+ - /var/lib/smart
+ - /var/cache/yum
+ - /var/cache/man/*
+ - /usr/share/vmware/*
+ - /tmp/*
+ - /sys/*
+ - /proc/*
+ - /mnt/*
+ - /media/*
+ - /lib/klibc/events/*
+ - /boot/initrd*
+ - /boot/grub
+ - *.rpmsave
+ - *.rpmnew
+ ";
+ return;
}
1; \ No newline at end of file
diff --git a/installer/OpenSLX/OSExport/Distro/Gentoo.pm b/installer/OpenSLX/OSExport/Distro/Gentoo.pm
index d46b6037..1df759dd 100644
--- a/installer/OpenSLX/OSExport/Distro/Gentoo.pm
+++ b/installer/OpenSLX/OSExport/Distro/Gentoo.pm
@@ -9,7 +9,7 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# Gentoo.pm
-# - provides Gentoo-specific overrides of the OpenSLX OSExport API.
+# - provides Gentoo-specific overrides of the OpenSLX OSExport API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Gentoo;
@@ -25,35 +25,35 @@ use OpenSLX::Basics;
################################################################################
sub new
{
- my $class = shift;
- my $self = {
- 'base-name' => 'gentoo',
- };
- return bless $self, $class;
+ my $class = shift;
+ my $self = {
+ 'base-name' => 'gentoo',
+ };
+ return bless $self, $class;
}
sub initDistroInfo
{
- my $self = shift;
+ my $self = shift;
- $self->{'export-filter'} = "
- - /var/tmp/*
- - /var/spool/*
- - /var/run/*
- - /var/log/*
- - /var/lib/xdm
- - /var/lib/init.d/*
- - /var/cache/man/*
- - /usr/share/vmware/*
- - /tmp/*
- - /sys/*
- - /proc/*
- - /mnt/*
- - /media/*
- - /boot/initrd*
- - /boot/grub
- ";
- return;
+ $self->{'export-filter'} = "
+ - /var/tmp/*
+ - /var/spool/*
+ - /var/run/*
+ - /var/log/*
+ - /var/lib/xdm
+ - /var/lib/init.d/*
+ - /var/cache/man/*
+ - /usr/share/vmware/*
+ - /tmp/*
+ - /sys/*
+ - /proc/*
+ - /mnt/*
+ - /media/*
+ - /boot/initrd*
+ - /boot/grub
+ ";
+ return;
}
1; \ No newline at end of file
diff --git a/installer/OpenSLX/OSExport/Distro/SUSE.pm b/installer/OpenSLX/OSExport/Distro/SUSE.pm
index 5d7ed615..7f5d5548 100644
--- a/installer/OpenSLX/OSExport/Distro/SUSE.pm
+++ b/installer/OpenSLX/OSExport/Distro/SUSE.pm
@@ -9,7 +9,7 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# SUSE.pm
-# - provides SUSE-specific overrides of the OpenSLX OSExport API.
+# - provides SUSE-specific overrides of the OpenSLX OSExport API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::SUSE;
@@ -25,89 +25,89 @@ use OpenSLX::Basics;
################################################################################
sub new
{
- my $class = shift;
- my $self = {
- 'base-name' => 'suse',
- };
- return bless $self, $class;
+ my $class = shift;
+ my $self = {
+ 'base-name' => 'suse',
+ };
+ return bless $self, $class;
}
sub initDistroInfo
{
- my $self = shift;
+ my $self = shift;
- $self->{'export-filter'} = "
- - /var/tmp/*
- - /var/spool/*
- - /var/run/*
- - /var/mail
- - /var/log/*
- - /var/lock/*
- - /var/lib/zypp/*
- - /var/lib/zmd
- - /var/lib/xdm
- - /var/lib/vm*
- - /var/lib/suspend*
- - /var/lib/smart
- - /var/lib/sax
- - /var/lib/hardware/*
- - /var/lib/gdm/*
- - /var/lib/dhcp*
- - /var/lib/bluetooth/
- - /var/lib/YaST2/you/mnt/*
- - /var/lib/YaST2/backup_boot_sectors
- - /var/cache/sax
- - /var/cache/libx11/compose/*
- - /var/cache/beagle
- - /var/cache/yum
- - /var/cache/man/*
- - /var/adm/backup/rpmdb/*
- - /var/adm/mount/AP*
- - /var/adm/SuSEconfig
- - /usr/share/vmware/*
- - /usr/lib/zen-updater
- + /usr/lib/python*/*/*.o
- + /usr/lib/perl5/*/*/*/*.o
- + /usr/lib/gcc/*/*/*.o
- + /usr/lib/*.o
- + /usr/X11R6/lib/modules/drivers/*.o
- + /usr/X11R6/lib/modules/drivers/linux/*.o
- - /usr/bin/zen-*
- - /usr/bin/nw-manager
- - /usr/X11R6/bin/BackGround
- - /usr/bin/BackGround
- - /tmp/*
- - /sys/*
- - /proc/*
- - /opt/kde3/share/autostart/suseplugger.desktop
- - /opt/kde3/share/autostart/susewatcher.desktop
- - /opt/kde3/share/autostart/runupdater.desktop
- - /opt/kde3/share/autostart/profile_chooser-autostart.desktop
- - /opt/kde3/share/autostart/opensuseupdater.desktop
- - /opt/kde3/share/autostart/knetworkmanager-autostart.desktop
- - /opt/kde3/share/autostart/kerry.autostart.desktop
- - /opt/kde3/share/autostart/kinternet.desktop
- - /opt/kde3/share/autostart/beagled.desktop
- - /opt/kde3/share/autostart/SUSEgreeter.desktop
- - /opt/kde3/share/autostart/zen-updater-auto.desktop
- - /opt/gnome/share/autostart/beagle*.desktop
- - /mnt/*
- - /media/*
- + /media
- + /lib/modules/*/misc/vmblock.o
- + /lib/modules/*/misc/vmnet.o
- + /lib/modules/*/misc/vmmon.o
- - /etc/dhcpd.conf*
- - /etc/cron.*/*
- - /etc/sysconfig/network/ifcfg-*
- - /etc/X11/xdm/SuSEconfig.xdm
- - /boot/initrd*
- - /boot/grub
- - *.rpmsave
- - *.rpmnew
- - *.YaST2save
- ";
- return;
+ $self->{'export-filter'} = "
+ - /var/tmp/*
+ - /var/spool/*
+ - /var/run/*
+ - /var/mail
+ - /var/log/*
+ - /var/lock/*
+ - /var/lib/zypp/*
+ - /var/lib/zmd
+ - /var/lib/xdm
+ - /var/lib/vm*
+ - /var/lib/suspend*
+ - /var/lib/smart
+ - /var/lib/sax
+ - /var/lib/hardware/*
+ - /var/lib/gdm/*
+ - /var/lib/dhcp*
+ - /var/lib/bluetooth/
+ - /var/lib/YaST2/you/mnt/*
+ - /var/lib/YaST2/backup_boot_sectors
+ - /var/cache/sax
+ - /var/cache/libx11/compose/*
+ - /var/cache/beagle
+ - /var/cache/yum
+ - /var/cache/man/*
+ - /var/adm/backup/rpmdb/*
+ - /var/adm/mount/AP*
+ - /var/adm/SuSEconfig
+ - /usr/share/vmware/*
+ - /usr/lib/zen-updater
+ + /usr/lib/python*/*/*.o
+ + /usr/lib/perl5/*/*/*/*.o
+ + /usr/lib/gcc/*/*/*.o
+ + /usr/lib/*.o
+ + /usr/X11R6/lib/modules/drivers/*.o
+ + /usr/X11R6/lib/modules/drivers/linux/*.o
+ - /usr/bin/zen-*
+ - /usr/bin/nw-manager
+ - /usr/X11R6/bin/BackGround
+ - /usr/bin/BackGround
+ - /tmp/*
+ - /sys/*
+ - /proc/*
+ - /opt/kde3/share/autostart/suseplugger.desktop
+ - /opt/kde3/share/autostart/susewatcher.desktop
+ - /opt/kde3/share/autostart/runupdater.desktop
+ - /opt/kde3/share/autostart/profile_chooser-autostart.desktop
+ - /opt/kde3/share/autostart/opensuseupdater.desktop
+ - /opt/kde3/share/autostart/knetworkmanager-autostart.desktop
+ - /opt/kde3/share/autostart/kerry.autostart.desktop
+ - /opt/kde3/share/autostart/kinternet.desktop
+ - /opt/kde3/share/autostart/beagled.desktop
+ - /opt/kde3/share/autostart/SUSEgreeter.desktop
+ - /opt/kde3/share/autostart/zen-updater-auto.desktop
+ - /opt/gnome/share/autostart/beagle*.desktop
+ - /mnt/*
+ - /media/*
+ + /media
+ + /lib/modules/*/misc/vmblock.o
+ + /lib/modules/*/misc/vmnet.o
+ + /lib/modules/*/misc/vmmon.o
+ - /etc/dhcpd.conf*
+ - /etc/cron.*/*
+ - /etc/sysconfig/network/ifcfg-*
+ - /etc/X11/xdm/SuSEconfig.xdm
+ - /boot/initrd*
+ - /boot/grub
+ - *.rpmsave
+ - *.rpmnew
+ - *.YaST2save
+ ";
+ return;
}
1;
diff --git a/installer/OpenSLX/OSExport/Distro/Ubuntu.pm b/installer/OpenSLX/OSExport/Distro/Ubuntu.pm
index c26aa706..0f60b63f 100644
--- a/installer/OpenSLX/OSExport/Distro/Ubuntu.pm
+++ b/installer/OpenSLX/OSExport/Distro/Ubuntu.pm
@@ -9,7 +9,7 @@
# General information about OpenSLX can be found at http://openslx.org/
# -----------------------------------------------------------------------------
# Ubuntu.pm
-# - provides Ubuntu-specific overrides of the OpenSLX OSExport API.
+# - provides Ubuntu-specific overrides of the OpenSLX OSExport API.
# -----------------------------------------------------------------------------
package OpenSLX::OSExport::Distro::Ubuntu;
@@ -25,37 +25,37 @@ use OpenSLX::Basics;
################################################################################
sub new
{
- my $class = shift;
- my $self = {
- 'base-name' => 'ubuntu',
- };
- return bless $self, $class;
+ my $class = shift;
+ my $self = {
+ 'base-name' => 'ubuntu',
+ };
+ return bless $self, $class;
}
sub initDistroInfo
{
- my $self = shift;
+ my $self = shift;
- $self->{'export-filter'} = "
- - /var/tmp/*
- - /var/spool/*
- - /var/run/*
- - /var/log/*
- - /var/lib/xdm
- - /var/cache/man/*
- - /usr/share/vmware/*
- - /tmp/*
- - /sys/*
- - /proc/*
- - /mnt/*
- - /media/*
- - /lib/klibc/events/*
- - /initrd*
- - /etc/cron.*/*
- - /boot/initrd*
- - /boot/grub
- ";
- return;
+ $self->{'export-filter'} = "
+ - /var/tmp/*
+ - /var/spool/*
+ - /var/run/*
+ - /var/log/*
+ - /var/lib/xdm
+ - /var/cache/man/*
+ - /usr/share/vmware/*
+ - /tmp/*
+ - /sys/*
+ - /proc/*
+ - /mnt/*
+ - /media/*
+ - /lib/klibc/events/*
+ - /initrd*
+ - /etc/cron.*/*
+ - /boot/initrd*
+ - /boot/grub
+ ";
+ return;
}
1; \ No newline at end of file