diff options
author | ramon <ramongomez@us.es> | 2011-03-25 13:50:29 +0000 |
---|---|---|
committer | ramon <ramongomez@us.es> | 2011-03-25 13:50:29 +0000 |
commit | 16ac86e1917e2878479e2952415c9ccb56313f22 (patch) | |
tree | 377e28c6f0623931210bf1d6ce83b8f2387c1599 /admin | |
parent | ebbbfc01d5da45a96034eafcb96f81c4eb49543c (diff) |
Versión 1.0: Scripts para interfaz web soporte inicial de crear imágenes en modo no administrador.
Modificado #291.
git-svn-id: https://opengnsys.es/svn/branches/version1.0@1631 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'admin')
-rwxr-xr-x | admin/Interface/CrearImagen | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/admin/Interface/CrearImagen b/admin/Interface/CrearImagen index cbaf9c4d..7625ab80 100755 --- a/admin/Interface/CrearImagen +++ b/admin/Interface/CrearImagen @@ -22,7 +22,9 @@ if [ "$CALLER" != "ogAdmClient" ]; then fi # Valor por defecto para el repositorio. -REPO=${4:-"repo"} +REPO=${4:-"REPO"} +[ "$REPO" == "$(ogGetRepoIp)" ] && REPO="REPO" +[ "$REPO" == "$(ogGetIpAddress)" ] && REPO="CACHE" # Si cleinte no está en modo "admin"; activar repositorio para escritura, # crear imagen y activar para lectura. |