mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-18 04:10:16 +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
|
# HOSTNAME FIX
|
||||||
# If the hostname is too long Distrobox will fail during setup
|
# 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.
|
# 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
|
hostnamectl set-hostname bazzite
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user