diff options
author | Oliver Tappe | 2008-09-04 22:00:47 +0200 |
---|---|---|
committer | Oliver Tappe | 2008-09-04 22:00:47 +0200 |
commit | e5ae7353cafdb32aaae797e23a099029d879da8f (patch) | |
tree | 01dd04073e1583bad02d230ec03abe0712a18c03 /config-db | |
parent | * turned the client fields 'boot_type','unbootable' and 'kernel_params' as well (diff) | |
download | core-e5ae7353cafdb32aaae797e23a099029d879da8f.tar.gz core-e5ae7353cafdb32aaae797e23a099029d879da8f.tar.xz core-e5ae7353cafdb32aaae797e23a099029d879da8f.zip |
* removed default value for boot_type as that field no longer exists (it
now is an attribute with automatic default value)
git-svn-id: http://svn.openslx.org/svn/openslx/openslx/trunk@2206 95ad53e4-c205-0410-b2fa-d234c58c8868
Diffstat (limited to 'config-db')
-rw-r--r-- | config-db/OpenSLX/ConfigDB.pm | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/config-db/OpenSLX/ConfigDB.pm b/config-db/OpenSLX/ConfigDB.pm index 3cffb74b..cb34af4e 100644 --- a/config-db/OpenSLX/ConfigDB.pm +++ b/config-db/OpenSLX/ConfigDB.pm @@ -1918,12 +1918,6 @@ sub addClient my ($valRows, $attrValRows) = _cloneAndUnhingeAttrs($inValRows); - foreach my $valRow (@$valRows) { - if (!$valRow->{boot_type}) { - $valRow->{boot_type} = 'pxe'; - } - } - my @IDs = $self->{'meta-db'}->addClient($valRows, $attrValRows); return wantarray() ? @IDs : $IDs[0]; } |