From 49fd2bcfa63dbb1f1a4371fc53789788d58df54e Mon Sep 17 00:00:00 2001 From: David Kebler Date: Sun, 19 Mar 2023 11:48:28 -0700 Subject: [PATCH] don't use hostnamectl for compatibility --- shell.env | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell.env b/shell.env index 24b4e08..38cb2a6 100755 --- a/shell.env +++ b/shell.env @@ -90,7 +90,7 @@ BASH_SHELL_ANY_NETWORK=$parent/any/network export BASH_SHELL_DIRS # machine specific shell -BASH_SHELL_HOST="$parent/$(hostnamectl hostname)" +BASH_SHELL_HOST="$parent/$(cat /etc/host)" # BASH_SHELL_HOST= # if there is a host directory add it to list and export env var # [[ -d $BASH_SHELL_HOST ]] && BASH_SHELL_DIRS+="$BASH_SHELL_HOST " && export BASH_SHELL_HOST