diff options
author | Irina Gómez <irinagomez@us.es> | 2020-05-04 14:50:03 +0200 |
---|---|---|
committer | Irina Gómez <irinagomez@us.es> | 2020-05-04 14:50:03 +0200 |
commit | e521fb869b8734ee80b9541157109f4451560012 (patch) | |
tree | ca70959bb12ca75d9ae68819072ae11adee5d900 /admin/WebConsole/asistentes | |
parent | 41d66ae82bd0ba8d27de77dbd76c484f7c042e1c (diff) |
# 911 Fixes bug in partitioning wizard when create Cache: tries to mount cache partition, if not possible formats it. Solution proposed by Antonio Doblas (UMA).
Diffstat (limited to 'admin/WebConsole/asistentes')
-rw-r--r-- | admin/WebConsole/asistentes/jscripts/asistentes.js | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/admin/WebConsole/asistentes/jscripts/asistentes.js b/admin/WebConsole/asistentes/jscripts/asistentes.js index b26eef01..8f521e44 100644 --- a/admin/WebConsole/asistentes/jscripts/asistentes.js +++ b/admin/WebConsole/asistentes/jscripts/asistentes.js @@ -301,6 +301,10 @@ if [ $EVAL -eq 0 ]; then \n \ ms-sys /dev/sda | grep unknow && ms-sys /dev/sda \n \ ogExecAndLog command session log ogListPartitions "+n_disk+" \n\ "+ swapCode +"\ + if ogFindCache &>/dev/null; then \n\ + ogMountCache || ogFormatCache \n\ + updateBootCache \n \ + fi \n \ else \n \ ogEcho session log \"[100] ERROR: $MSG_HELP_ogCreatePartitions\" \n \ return $EVAL \n \ @@ -401,6 +405,10 @@ if [ $EVAL -eq 0 ]; then \n \ ogUpdatePartitionTable "+n_disk+" \n \ ms-sys /dev/sda | grep unknow && ms-sys /dev/sda \n \ ogExecAndLog command session log ogListPartitions "+n_disk+" \n \ + if ogFindCache &>/dev/null; then \n\ + ogMountCache || ogFormatCache \n\ + updateBootCache \n \ + fi \n \ else \n \ ogEcho session log \"[100] ERROR: $MSG_HELP_ogCreatePartitions\" \n \ return $EVAL \n \ |