From d0e11b080789e3da7e95dab38852ff9bfbb7883c Mon Sep 17 00:00:00 2001 From: irina Date: Tue, 22 Sep 2015 10:11:39 +0000 Subject: #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 --- server/bin/setclientmode | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'server/bin/setclientmode') 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 -- cgit v1.2.3-18-g5258