mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
I will just use localhost
This commit is contained in:
parent
c46a5d2cdd
commit
552f3dbbe0
1 changed files with 1 additions and 2 deletions
|
@ -48,12 +48,11 @@ msg_ok "Created Service"
|
|||
msg_info "Checking Health"
|
||||
ELASTIC_USER=elastic
|
||||
ELASTIC_PASSWORD=$(/usr/share/elasticsearch/bin/elasticsearch-reset-password -u $ELASTIC_USER -b -s -f)
|
||||
ELASTIC_IP=$IP
|
||||
ELASTIC_PORT=9200
|
||||
echo $ELASTIC_USER
|
||||
echo $ELASTIC_PASSWORD
|
||||
echo $ELASTIC_IP
|
||||
curl -XGET --insecure --fail --user $ELASTIC_USER:$ELASTIC_PASSWORD https://$ELASTIC_IP:$ELASTIC_PORT/_cluster/health?pretty
|
||||
curl -XGET --insecure --fail --user $ELASTIC_USER:$ELASTIC_PASSWORD https://localhost:$ELASTIC_PORT/_cluster/health?pretty
|
||||
msg_ok "Checked Health"
|
||||
|
||||
motd_ssh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue