mirror of
https://gitlab.archlinux.org/tpowa/archboot.git
synced 2024-09-20 03:50:37 +02:00
fix pv create
This commit is contained in:
parent
2c3f13e719
commit
f6106e74fe
1 changed files with 1 additions and 2 deletions
|
@ -1013,8 +1013,7 @@ _createvg()
|
||||||
while [[ "${PVS}" != "DONE" ]]; do
|
while [[ "${PVS}" != "DONE" ]]; do
|
||||||
PVNUMBER=$((PVNUMBER + 1))
|
PVNUMBER=$((PVNUMBER + 1))
|
||||||
# clean loop from used partition and options
|
# clean loop from used partition and options
|
||||||
PVS="$(echo "${PVS}" | sed -e "s#${PV}\ _##g")"
|
PVS="$(echo ${PVS} | sed -e "s#${PV} _##g")"
|
||||||
#PVS="${PVS//${PV}\ _/}"
|
|
||||||
# add more devices
|
# add more devices
|
||||||
#shellcheck disable=SC2086
|
#shellcheck disable=SC2086
|
||||||
DIALOG --menu "Select additional Physical Volume ${PVNUMBER} for ${VGDEVICE}" 21 50 13 ${PVS} DONE _ 2>${ANSWER} || return 1
|
DIALOG --menu "Select additional Physical Volume ${PVNUMBER} for ${VGDEVICE}" 21 50 13 ${PVS} DONE _ 2>${ANSWER} || return 1
|
||||||
|
|
Loading…
Reference in a new issue