mirror of
https://github.com/w2c/letsencrypt-esxi.git
synced 2026-01-12 13:51:30 -06:00
Read FQDN from hostname command
The previous command stopped working with ESXi 8
This commit is contained in:
2
renew.sh
2
renew.sh
@@ -3,7 +3,7 @@
|
||||
# Copyright (c) Johannes Feichtner <johannes@web-wack.at>
|
||||
# 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")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user