mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-09-13 07:10:51 +02:00
Small issues fixed (#3386)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user