mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-01 21:30:09 +00:00
Small issues fixed (#3386)
This commit is contained in:
parent
396922b9fd
commit
7d0f60c8d1
3 changed files with 5 additions and 14 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue