mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 10:31:17 -03:00
Add removing lv function
at the termination of installer
This commit is contained in:
parent
4c325c4491
commit
f92329b782
1 changed files with 4 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ function parainstall() {
|
|||
if ! ps $INSTALLER_PID > /dev/null ; then # If not exists
|
||||
cat <<-HEREDOC 1>&2
|
||||
The installer terminated unexpectedly.
|
||||
...Delete the new logical volume "${VGNAME}-${LVROOTNAME}".
|
||||
HEREDOC
|
||||
lvremove -f /dev/mapper/${VGNAME}-${LVROOTNAME}
|
||||
cat <<-HEREDOC 1>&2
|
||||
|
||||
Installation process terminated.
|
||||
HEREDOC
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue