diff --git a/templates/install.sh b/templates/install.sh index dfd030d..1160771 100755 --- a/templates/install.sh +++ b/templates/install.sh @@ -632,7 +632,7 @@ done echo "done." echo -n "Removing existing LVM physical volumes... " -for pv in $( pvcscan | grep "${target_disk}" | awk '{ print $2 }' ); do +for pv in $( pvscan | grep "${target_disk}" | awk '{ print $2 }' ); do yes | pvremove -f ${pv} || true done echo "done."