chore: Increase hostname size check to 20 characters

This commit is contained in:
Kyle Gospodnetich 2024-01-28 00:17:52 -08:00
parent 9754362e4a
commit e2a90fd758

View File

@ -213,7 +213,7 @@ fi
# HOSTNAME FIX
# If the hostname is too long Distrobox will fail during setup
# Let's check the length and reset it to something sensible if that happens.
if (( $(hostname | wc -m) > 16 )); then
if (( $(hostname | wc -m) > 20 )); then
hostnamectl set-hostname bazzite
fi