Xsan 2 will use the hostname to connect to a client, normally this is set correctly but due to some caching issues I had to manually set this via ARD the other day. Enjoy the quick code:
scutil --set HostName "$(host $(ifconfig en0 |
awk '/inet /{ print $2;exit}') |
awk '{print $NF;exit}' |
sed 's/.$//g')"
If would you like to contact me with comments or inaccuracies about this article, feel free
