From e2a90fd7586797fc4615051f70e7323b96fe9ef8 Mon Sep 17 00:00:00 2001 From: Kyle Gospodnetich Date: Sun, 28 Jan 2024 00:17:52 -0800 Subject: [PATCH] chore: Increase hostname size check to 20 characters --- system_files/desktop/shared/usr/bin/bazzite-hardware-setup | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup index 2876cfd0..5eb4b1ce 100755 --- a/system_files/desktop/shared/usr/bin/bazzite-hardware-setup +++ b/system_files/desktop/shared/usr/bin/bazzite-hardware-setup @@ -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