fix vg creation

This commit is contained in:
Tobias Powalowski 2023-01-25 09:07:55 +01:00
parent 3f5ad5e4af
commit 43c2ce1b3d

View file

@ -740,7 +740,7 @@ _createvg()
_PVNUMBER=$((_PVNUMBER + 1))
# clean loop from used partition and options
#shellcheck disable=SC2001,SC2086
_PVS="$(echo ${_PVS} sed -e "s#$(${_LSBLK} NAME,SIZE -d "${_PV}")##g")"
_PVS="$(echo ${_PVS} | sed -e "s#$(${_LSBLK} NAME,SIZE -d "${_PV}")##g")"
# add more devices
#shellcheck disable=SC2086
_dialog --menu "Select additional Physical Volume ${_PVNUMBER} for ${_VGDEV}:" 13 50 10 ${_PVS} DONE _ 2>"${_ANSWER}" || return 1