From 93f9700c2c4c8f547b79614adc0924ded033eda1 Mon Sep 17 00:00:00 2001 From: Saibotk Date: Tue, 3 Dec 2024 00:17:17 +0100 Subject: [PATCH] fix(macos): do not set local hostname This one does not allow special chars like spaces, but is set anyway through the other commands. --- install-mac.sh | 1 - 1 file changed, 1 deletion(-) diff --git a/install-mac.sh b/install-mac.sh index ad7f3cf..ae19444 100755 --- a/install-mac.sh +++ b/install-mac.sh @@ -56,7 +56,6 @@ echo "Setting hostname to $computername" # Set computer name (as done via System Preferences → Sharing) sudo scutil --set ComputerName "$computername" sudo scutil --set HostName "$computername" -sudo scutil --set LocalHostName "$computername" sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.smb.server NetBIOSName -string "$computername" # Call the general install script to setup zsh etc.