diff options
author | adv <adv@uma.es> | 2012-02-22 11:33:17 +0000 |
---|---|---|
committer | adv <adv@uma.es> | 2012-02-22 11:33:17 +0000 |
commit | f38b1ccf931c92f2aa794ab34a18594bc2f8259d (patch) | |
tree | cb44dd3c18a21409bb930ba8746e55c03b37c882 /client/shared/scripts/deployImage | |
parent | 27f841cb268809b74b62b83776f2f3d766b9efa4 (diff) |
#477 internacionalizacion deployImage
git-svn-id: https://opengnsys.es/svn/branches/version1.0@2638 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client/shared/scripts/deployImage')
-rwxr-xr-x | client/shared/scripts/deployImage | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/client/shared/scripts/deployImage b/client/shared/scripts/deployImage index e5a2bec3..0f7a2bad 100755 --- a/client/shared/scripts/deployImage +++ b/client/shared/scripts/deployImage @@ -22,8 +22,8 @@ TIME1=$SECONDS -OGLOGSESSION="/tmp/session.log" -OGLOGCOMMAND="/tmp/command.log" +#Carga del configurador del engine +[ -z $OGENGINECONFIGURATE ] && source /opt/opengnsys/etc/engine.cfg PROG="$(basename $0)" @@ -33,18 +33,18 @@ if [ $# -lt 4 ]; then fi #controlar param1 REPO -echo "[1] Realizando un updateCache REPO $2.img $5 $6" | tee -a $OGLOGSESSION $OGLOGFILE +echo "[1] $MSG_SCRIPTS_TASK_START updateCache REPO $2.img $5 $6" | tee -a $OGLOGSESSION $OGLOGFILE updateCache REPO $2.img $5 $6 | tee -a $OGLOGCOMMAND RETVAL=$? if [ "$RETVAL" != "0" ] then - echo "[49] Fin del updateCache REPO $2.img $5 $6 con error $RETVAL" | tee -a $OGLOGSESSION $OGLOGFILE + echo "[49] $MSG_SCRIPTS_TASK_ERR = $RETVAL ; updateCache REPO $2.img $5 $6 " | tee -a $OGLOGSESSION $OGLOGFILE # RC=15 No hay cache # RC=16 no hay espacio sufiente exit $RETVAL else - echo "[50] Iniciando un ogRestore CACHE desde deployImage" | tee -a $OGLOGSESSION $OGLOGFILE + echo "[50] $MSG_SCRIPTS_TASK_START ogRestore CACHE /$2 $3 $4" | tee -a $OGLOGSESSION $OGLOGFILE ogRestoreImage CACHE /$2 $3 $4 &>> $OGLOGCOMMAND RETVAL=$? [ "$RETVAL" == "0" ] && configureOs $3 $4 | tee -a $OGLOGCOMMAND |