diff --git a/renew.sh b/renew.sh index dbd712c..14f4c29 100644 --- a/renew.sh +++ b/renew.sh @@ -3,7 +3,7 @@ # Copyright (c) Johannes Feichtner # Released under the GNU GPLv3 License. -DOMAIN=$(grep "adv/Misc/HostName" /etc/vmware/esx.conf | awk '{print $3}' | xargs) +DOMAIN=$(hostname -f) LOCALDIR=$(dirname "$(readlink -f "$0")") LOCALSCRIPT=$(basename "$0")