From 444d0d884bdc1b3bbf1c4ab3b95bd6d8a0ebdeac Mon Sep 17 00:00:00 2001 From: Oliver Tappe Date: Fri, 20 Jul 2007 17:04:54 +0000 Subject: git-svn-id: http://svn.openslx.org/svn/openslx/trunk@1264 95ad53e4-c205-0410-b2fa-d234c58c8868 --- installer/OpenSLX/OSExport/Engine.pm | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'installer') diff --git a/installer/OpenSLX/OSExport/Engine.pm b/installer/OpenSLX/OSExport/Engine.pm index ad0c0c0a..2033018c 100644 --- a/installer/OpenSLX/OSExport/Engine.pm +++ b/installer/OpenSLX/OSExport/Engine.pm @@ -284,7 +284,12 @@ sub _addExportToConfigDB ); $self->{exporter}->showExportConfigInfo($export) if $id; + } + my $system = $openslxDB->fetchSystemByFilter({ + 'name' => $self->{'export-name'}, + }); + if (!defined $system) { # now create a default system for that export, using the standard kernel: system("slxconfig add-system $self->{'export-name'}"); } -- cgit v1.2.3-55-g7522