update create_certs function
This commit is contained in:
parent
69a3d6eb6a
commit
6046507f5a
|
@ -62,8 +62,10 @@ dig_dns_ip() {
|
||||||
dig -4 +short "$1"||awk -v RS='([0-9]+\\.){3}[0-9]+' 'RT{print RT}'
|
dig -4 +short "$1"||awk -v RS='([0-9]+\\.){3}[0-9]+' 'RT{print RT}'
|
||||||
}
|
}
|
||||||
create_certs(){
|
create_certs(){
|
||||||
sed -i "s|__FTSDOMAIN__|$1|" static/opensearch_certs.sh
|
cp static/opensearch_certs.sh "$OPNSDIR"
|
||||||
bash static/opensearch_certs.sh
|
sed -i "s|__FTSDOMAIN__|$1|" "$OPNSDIR"/opensearch_certs.sh
|
||||||
|
cp "$OPNSDIR"
|
||||||
|
bash opensearch_certs.sh
|
||||||
}
|
}
|
||||||
countdown() {
|
countdown() {
|
||||||
printwc "$Cyan" "$1"
|
printwc "$Cyan" "$1"
|
||||||
|
|
Loading…
Reference in New Issue