mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-04-19 16:15:13 +00:00
Small issues fixed (#3386)
This commit is contained in:
parent
396922b9fd
commit
7d0f60c8d1
@ -23,7 +23,7 @@ function update_script() {
|
||||
header_info
|
||||
check_container_storage
|
||||
check_container_resources
|
||||
if [[ ! -d /var ]]; then
|
||||
if [[ ! -f /lib/systemd/system/wazuh-manager.service ]]; then
|
||||
msg_error "No ${APP} Installation Found!"
|
||||
exit
|
||||
fi
|
||||
|
@ -2,7 +2,7 @@
|
||||
"name": "Wazuh",
|
||||
"slug": "wazuh",
|
||||
"categories": [
|
||||
1
|
||||
9
|
||||
],
|
||||
"date_created": "2025-03-24",
|
||||
"type": "ct",
|
||||
@ -11,7 +11,7 @@
|
||||
"interface_port": 443,
|
||||
"documentation": "https://documentation.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.",
|
||||
"install_methods": [
|
||||
{
|
||||
@ -20,7 +20,7 @@
|
||||
"resources": {
|
||||
"cpu": 4,
|
||||
"ram": 4096,
|
||||
"hdd": 10,
|
||||
"hdd": 18,
|
||||
"os": "debian",
|
||||
"version": "12"
|
||||
}
|
||||
|
@ -13,22 +13,13 @@ setting_up_container
|
||||
network_check
|
||||
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"
|
||||
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_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
|
||||
|
||||
if [ "$STD" = "silent" ]; then
|
||||
bash wazuh-install.sh -a >>~/wazuh-install.output
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user