diff options
author | irina <irinagomez@us.es> | 2015-09-22 10:11:39 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2015-09-22 10:11:39 +0000 |
commit | d0e11b080789e3da7e95dab38852ff9bfbb7883c (patch) | |
tree | e463b2641f07cd76f66b525c9d432c99d0c23088 /server/bin | |
parent | 44d3a4d237d5aa68bda3ee75a5a05943bf07bb1d (diff) |
#719 closed setclientmode: corrige errata que hace que el cliente desaparezca de netBootAvanzado
git-svn-id: https://opengnsys.es/svn/branches/version1.1@4678 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'server/bin')
-rwxr-xr-x | server/bin/setclientmode | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/bin/setclientmode b/server/bin/setclientmode index 02e5be59..64e8b98a 100755 --- a/server/bin/setclientmode +++ b/server/bin/setclientmode @@ -103,7 +103,7 @@ for MAC in $ETHERNET; do sed -e "s/vga=[0-9]*//g; s/INFOHOST/$DATOS/g" $TEMPLATE >$PXEFILE # Actualizar en la BD el modo de arranque asociada el cliente. mysql --defaults-extra-file=$MYCNF -D "$CATALOG" -e \ - "UPDATE ordenadores SET arranque='$BOOTMODE' WHERE mac='$MAC';" + "UPDATE ordenadores SET arranque='$(basename $TEMPLATE)' WHERE mac='$MAC';" fi let NPC=NPC+1 done |