diff options
author | irina <irinagomez@us.es> | 2014-11-03 09:42:41 +0000 |
---|---|---|
committer | irina <irinagomez@us.es> | 2014-11-03 09:42:41 +0000 |
commit | bf365a4ca84e2f396165a07f2fb594ede640f027 (patch) | |
tree | 6e295ad3be6ba0df6e7ea88347f4640c7ccc6ffd /client | |
parent | d3dc88d80ee70f5457f7d2e33f877711832b1a19 (diff) |
#653 incluimos postconfiguración personalizada en ogRestaurarImagenBasica
git-svn-id: https://opengnsys.es/svn/branches/version1.0@4421 a21b9725-9963-47de-94b9-378ad31fedc9
Diffstat (limited to 'client')
-rwxr-xr-x | client/shared/scripts/ogRestaurarImagenBasica | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/client/shared/scripts/ogRestaurarImagenBasica b/client/shared/scripts/ogRestaurarImagenBasica index 4be8e49d..8a4ee6ae 100755 --- a/client/shared/scripts/ogRestaurarImagenBasica +++ b/client/shared/scripts/ogRestaurarImagenBasica @@ -186,7 +186,14 @@ fi echo "Ejecutando configure OS" | tee -a $OGLOGSESSION $OGLOGFILE - configureOs $DISCO $NPART + if which configureOsCustom &>/dev/null; then + ogEcho log session "[90] configureOsCustom" + configureOsCustom "$DISCO" "$NPART" + else + ogEcho log session "[90] $MSG_SCRIPTS_OS_CONFIGURE " + configureOs "$DISCO" "$NPART" + fi + echo "!!! Finaliza correctamente !!! restauracion imagen basica $NOMBREIMG desde cache local" | tee -a $OGLOGSESSION $OGLOGFILE #___________________________________________________________________ |