diff --git a/Agent_Wazhu/installation_wazhu.sh b/Agent_Wazhu/installation_wazhu.sh index f6e51bd..a0efbb2 100644 --- a/Agent_Wazhu/installation_wazhu.sh +++ b/Agent_Wazhu/installation_wazhu.sh @@ -14,6 +14,7 @@ func_wazhu(){ # REVISION: --- #======================================================================= ##Définition des variables +log_erreurs="$folder/err_log.log" WAZUH_MANAGER="192.168.44.8" hostname=$(hostname) cdm_install="WAZUH_MANAGER=$WAZUH_MANAGER WAZUH_AGENT_NAME=$hostname dpkg -i ./wazuh-agent_4.8.1-1_amd64.deb" diff --git a/deploiement_main.sh b/deploiement_main.sh index 9de9e5e..4c8b75f 100644 --- a/deploiement_main.sh +++ b/deploiement_main.sh @@ -23,6 +23,7 @@ source "$folder/Integration_domain/integration_domain.sh" source "$folder/OCS_Linux/ocs.sh" source "$folder/Laps_Linux/installation_laps.sh" #source "installation vpn" +source "$folder/Agent_Wazhu/installation_wazhu.sh" #source "paramétrage des depots" #source "installation des paquets métier" #source "installation applications (teams,...)" @@ -90,7 +91,7 @@ while true ;do ;; w|W) echo "" - func_Installation Wazhu + func_wazhu #echo "Installation Wazhu" ;; r|R) @@ -109,6 +110,7 @@ while true ;do echo "Installation applications (teams,...)" ;; q|Q) + echo "" exit 1 ;; esac