mirror of
https://github.com/suikan4github/kaiten-yaki.git
synced 2025-12-20 02:21: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
|
if ! ps $INSTALLER_PID > /dev/null ; then # If not exists
|
||||||
cat <<-HEREDOC 1>&2
|
cat <<-HEREDOC 1>&2
|
||||||
The installer terminated unexpectedly.
|
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.
|
Installation process terminated.
|
||||||
HEREDOC
|
HEREDOC
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue