Skip to content

Commit

Permalink
Avoid failing disk detection by prepending /dev/ if the disk was spec…
Browse files Browse the repository at this point in the history
…ified as 'sda'
  • Loading branch information
NeroReflex committed Dec 4, 2024
1 parent c9608a7 commit d2d7cf0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions __frzr-bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -278,6 +278,12 @@ frzr_bootstrap() {
else
echo "specified disk is '$DISK'"
fi

# Check if DISK starts with '/dev/' and if not prepend that
if [[ $DISK != /dev/* ]]; then
DISK="/dev/$DISK"
fi

echo "Checking for existing FRZR deployments"
# Checking for existing installation

Expand Down

0 comments on commit d2d7cf0

Please sign in to comment.