summaryrefslogtreecommitdiffstats
path: root/admin/Interface/CrearImagen
diff options
context:
space:
mode:
authoradv <adv@uma.es>2011-02-23 19:33:11 +0000
committeradv <adv@uma.es>2011-02-23 19:33:11 +0000
commitd9d17207d53b61d174c2b54f2695eb5a4e932acd (patch)
tree8e00b447baa91bd84db2278acb1d77591ae5bfc6 /admin/Interface/CrearImagen
parentbc55985ea2d013b828eac17042d3adb528ab0955 (diff)
version 1.0 - interfaz adm - ticket:304
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1485 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin/Interface/CrearImagen')
-rwxr-xr-xadmin/Interface/CrearImagen15
1 files changed, 11 insertions, 4 deletions
diff --git a/admin/Interface/CrearImagen b/admin/Interface/CrearImagen
index 62f0de9c..ac20c339 100755
--- a/admin/Interface/CrearImagen
+++ b/admin/Interface/CrearImagen
@@ -4,9 +4,16 @@
#
# PARAMETROS RECIBIDOS DESDE EL CLIENTE:
# $1 disco
-# $2 par=Número de particion
-# $3 Nombre canónico de la imagen
-# $4 Dirección del repositorio
+# $2 par=N�mero de particion
+# $3 Nombre can�nico de la imagen
+# $4 Direcci�n del repositorio
#_______________________________________________________________________________________________________________________________
-createImage "$1" "$2" "REPO" "$3"
+if [ "$engine" == "testing" ]
+then
+ echo $* >> $OGLOGFILE
+ createImage "$1" "$2" "REPO" "$3" &>> $OGLOGFILE || exit $?
+else
+ createImage "$1" "$2" "REPO" "$3"
+fi
+