Update linupx-scripts.sh
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
|
||||
action="$1"
|
||||
FOLDER='/opt/idssys/linupx'
|
||||
VERS='6.44-08272023'
|
||||
VERS='6.45-08282023'
|
||||
|
||||
if [ -d /opt/idssys/settings ]; then
|
||||
[ $(ls /opt/idssys/settings | wc -l) -eq 0 ] && rm -rf /opt/idssys/settings
|
||||
@@ -665,7 +665,8 @@ ADDVEEAMUSER(){
|
||||
COPYCERTS_UPDATE(){
|
||||
if [ -f /opt/copycerts.sh ]; then
|
||||
/usr/bin/ssh-copy-id le@keepalived.scity.us
|
||||
/bin/sed -i 's/le@keepalived.scity.us\:\/opt\/nginx-proxy\/ssl/le@keepalived.scity.us\:\/opt\/lb-data\/letsencrypt\/live/g' /opt/copycerts.sh
|
||||
# /bin/sed -i 's/le@keepalived.scity.us\:\/opt\/nginx-proxy\/ssl/le@keepalived.scity.us\:\/opt\/lb-data\/letsencrypt\/live/g' /opt/copycerts.sh
|
||||
/bin/sed -i 's/opt\/lb-data\/letsencrypt/etc\/letsencrypt/g' /opt/copycerts.sh
|
||||
/opt/copycerts.sh
|
||||
|
||||
echo
|
||||
@@ -949,7 +950,7 @@ MISC_MENU() {
|
||||
echo -e " [${idsCL[Yellow]}3${idsCL[Default]}] Fix multipath/vmware issue"
|
||||
echo
|
||||
if [ "$(IP_ALLOWED `hostname -I`)" == "true" ]; then
|
||||
echo -e " [${idsCL[Yellow]}U${idsCL[Default]}] Update copycerts.sh SSL server"
|
||||
echo -e " [${idsCL[Yellow]}U${idsCL[Default]}] Update copycerts.sh to new LB LE folder path "
|
||||
echo -e " [${idsCL[Yellow]}D${idsCL[Default]}] Update DNS (10.10.10.10, 10.10.10.11)"
|
||||
echo -e " [${idsCL[Yellow]}C${idsCL[Default]}] Change copycerts to LB-Nodes"
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user