don't use hostnamectl for compatibility

master
David Kebler 2023-03-19 11:48:28 -07:00
parent 21868df06b
commit 49fd2bcfa6
1 changed files with 1 additions and 1 deletions

View File

@ -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=<some directory>
# 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