summaryrefslogtreecommitdiffstats
path: root/config-db/slxconfig
diff options
context:
space:
mode:
authorOliver Tappe2007-04-12 16:58:46 +0200
committerOliver Tappe2007-04-12 16:58:46 +0200
commitb2b1eed88533e83816af8caf5457910fe951c9d1 (patch)
treeff1087ed29f3df40c831f3d890a2e1ea3c8c2276 /config-db/slxconfig
parent* for better consistency, the name has to be given without the 'name='-prefix, (diff)
downloadcore-b2b1eed88533e83816af8caf5457910fe951c9d1.tar.gz
core-b2b1eed88533e83816af8caf5457910fe951c9d1.tar.xz
core-b2b1eed88533e83816af8caf5457910fe951c9d1.zip
* if no clients have been specified for a new system, the system will be added to
the default client, which will make it available for booting by *all* clients. git-svn-id: http://svn.openslx.org/svn/openslx/trunk@879 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db/slxconfig')
-rwxr-xr-xconfig-db/slxconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/config-db/slxconfig b/config-db/slxconfig
index f0a978f5..597c87b7 100755
--- a/config-db/slxconfig
+++ b/config-db/slxconfig
@@ -344,6 +344,11 @@ sub addSystemToConfigDB
}
split '\s*,\s*', $systemData->{clients};
delete $systemData->{clients};
+ } else {
+ # no clients given, so we add this system to the default client,
+ # which will make this system bootable by *all* clients (unless
+ # they are configured otherwise).
+ push @clientIDs, 0;
}
if ($openslxDB->fetchSystemByFilter({ 'name' => $systemName })) {