Skip to content

Commit

Permalink
Cleanup console messaging
Browse files Browse the repository at this point in the history
Clarify user configuration messaging around volume groups and logical volumes
  • Loading branch information
iczerjones authored Dec 3, 2021
1 parent 837f042 commit 4b22542
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions build_install/payload/installer
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ chmod 755 /usr/sbin/autolvm

userconfig(){
echo "[ User Configuration ]"; sleep 1; echo ""
echo " Confirm the target logical volume to autoexpand by typing out the name: "
echo " Confirm the target volume group to autoexpand by typing out the name: "
echo " (note: to create a new volume, input desired name) "; echo ""
while [[ -z $vgtarget ]]; do
echo ""; echo "Detected volume groups: "; sleep 1
Expand Down Expand Up @@ -49,7 +49,7 @@ userconfig(){
read -p "Logical volume name: [Type 'x' to skip]: " lvtarget
if [[ -z $lvtarget ]]; then
echo ""; sleep 1
echo "Please input a volume group to target, or type 'x' to skip and exit"; echo ""
echo "Please input a volume to target, or type 'x' to skip and exit"; echo ""
elif [[ $lvtarget == "x" ]]; then
echo "Logical volume skipped, setting volume group.."
sed -i "s/REPLACE/${vgtarget}/" ${TEMP}/10-autolvm.rules
Expand Down

0 comments on commit 4b22542

Please sign in to comment.