mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-04-22 04:18:07 +00:00
Small issues fixed (#3386)
This commit is contained in:
parent
396922b9fd
commit
7d0f60c8d1
@ -23,7 +23,7 @@ function update_script() {
|
|||||||
header_info
|
header_info
|
||||||
check_container_storage
|
check_container_storage
|
||||||
check_container_resources
|
check_container_resources
|
||||||
if [[ ! -d /var ]]; then
|
if [[ ! -f /lib/systemd/system/wazuh-manager.service ]]; then
|
||||||
msg_error "No ${APP} Installation Found!"
|
msg_error "No ${APP} Installation Found!"
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
"name": "Wazuh",
|
"name": "Wazuh",
|
||||||
"slug": "wazuh",
|
"slug": "wazuh",
|
||||||
"categories": [
|
"categories": [
|
||||||
1
|
9
|
||||||
],
|
],
|
||||||
"date_created": "2025-03-24",
|
"date_created": "2025-03-24",
|
||||||
"type": "ct",
|
"type": "ct",
|
||||||
@ -11,7 +11,7 @@
|
|||||||
"interface_port": 443,
|
"interface_port": 443,
|
||||||
"documentation": "https://documentation.wazuh.com/",
|
"documentation": "https://documentation.wazuh.com/",
|
||||||
"website": "https://wazuh.com/",
|
"website": "https://wazuh.com/",
|
||||||
"logo": "https://avatars.githubusercontent.com/u/13752566?s=200&v=4",
|
"logo": "https://raw.githubusercontent.com/selfhst/icons/refs/heads/main/svg/wazuh.svg",
|
||||||
"description": "Wazuh is an open-source security monitoring solution that provides endpoint protection, network monitoring, and log analysis capabilities.",
|
"description": "Wazuh is an open-source security monitoring solution that provides endpoint protection, network monitoring, and log analysis capabilities.",
|
||||||
"install_methods": [
|
"install_methods": [
|
||||||
{
|
{
|
||||||
@ -20,7 +20,7 @@
|
|||||||
"resources": {
|
"resources": {
|
||||||
"cpu": 4,
|
"cpu": 4,
|
||||||
"ram": 4096,
|
"ram": 4096,
|
||||||
"hdd": 10,
|
"hdd": 18,
|
||||||
"os": "debian",
|
"os": "debian",
|
||||||
"version": "12"
|
"version": "12"
|
||||||
}
|
}
|
||||||
|
@ -13,22 +13,13 @@ setting_up_container
|
|||||||
network_check
|
network_check
|
||||||
update_os
|
update_os
|
||||||
|
|
||||||
msg_info "Installing Dependencies"
|
|
||||||
$STD apt-get install -y \
|
|
||||||
sudo \
|
|
||||||
mc \
|
|
||||||
curl
|
|
||||||
msg_ok "Installed Dependencies"
|
|
||||||
|
|
||||||
# Fetching the latest Wazuh version
|
|
||||||
msg_info "Fetching Latest Wazuh Version"
|
msg_info "Fetching Latest Wazuh Version"
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '"tag_name"' | awk -F '"' '{print substr($4, 2, length($2)-4)}')
|
RELEASE=$(curl -s https://api.github.com/repos/wazuh/wazuh/releases/latest | grep '"tag_name"' | awk -F '"' '{print substr($4, 2, length($2)-4)}')
|
||||||
msg_ok "Latest Wazuh Version: $RELEASE"
|
msg_ok "Latest Wazuh Version: $RELEASE"
|
||||||
|
|
||||||
msg_info "Setup Wazuh"
|
msg_info "Setup Wazuh"
|
||||||
curl -fsSL https://packages.wazuh.com/$RELEASE/wazuh-install.sh
|
curl -fsSL https://packages.wazuh.com/$RELEASE/wazuh-install.sh -o wazuh-install.sh
|
||||||
chmod +x wazuh-install.sh
|
chmod +x wazuh-install.sh
|
||||||
|
|
||||||
if [ "$STD" = "silent" ]; then
|
if [ "$STD" = "silent" ]; then
|
||||||
bash wazuh-install.sh -a >>~/wazuh-install.output
|
bash wazuh-install.sh -a >>~/wazuh-install.output
|
||||||
else
|
else
|
||||||
|
Loading…
x
Reference in New Issue
Block a user