mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
remove device from PV
This commit is contained in:
parent
e846a31405
commit
870dcf4397
1 changed files with 1 additions and 1 deletions
|
@ -630,7 +630,7 @@ _createpv()
|
||||||
while [[ "${_DEV}" != "DONE" ]]; do
|
while [[ "${_DEV}" != "DONE" ]]; do
|
||||||
_DEVNUMBER="$((_DEVNUMBER + 1))"
|
_DEVNUMBER="$((_DEVNUMBER + 1))"
|
||||||
# clean loop from used partition and options
|
# clean loop from used partition and options
|
||||||
_DEVS="${_DEVS//${_DEV}\ _/}"
|
_DEVS="$(echo "${_DEVS}" | sed -e "s#$(${_LSBLK} NAME,SIZE -d "${_DEV}")##g")"
|
||||||
# add more devices
|
# add more devices
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
_dialog --menu "Select additional device number ${_DEVNUMBER} for physical volume:" 15 60 12 ${_DEVS} DONE _ 2>"${_ANSWER}" || return 1
|
_dialog --menu "Select additional device number ${_DEVNUMBER} for physical volume:" 15 60 12 ${_DEVS} DONE _ 2>"${_ANSWER}" || return 1
|
||||||
|
|
Loading…
Reference in a new issue