mirror of
https://github.com/w2c/letsencrypt-esxi.git
synced 2026-10-04 22:20:09 -05:00
Read FQDN from hostname command
The previous command stopped working with ESXi 8
This commit is contained in:
1 parent
a58778311d
commit
9da2a81a7a
1 file changed
+1
-1
@@ -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