mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-17 19:10:33 +00:00
chore: Increase hostname size check to 20 characters
This commit is contained in:
parent
9754362e4a
commit
e2a90fd758
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user