Revert "Update wazuh-install.sh"
This reverts commit cb5e2762357e6a2de504a4c1f8a327fa4952bdf9.
This commit is contained in:
parent
cb5e276235
commit
041a5431dc
@ -28,8 +28,7 @@ msg_ok "Latest Wazuh Version: $RELEASE"
|
|||||||
msg_info "Setup Wazuh"
|
msg_info "Setup Wazuh"
|
||||||
wget -q https://packages.wazuh.com/$RELEASE/wazuh-install.sh
|
wget -q https://packages.wazuh.com/$RELEASE/wazuh-install.sh
|
||||||
chmod +x wazuh-install.sh
|
chmod +x wazuh-install.sh
|
||||||
$STD bash wazuh-install.sh -a | tee ~/wazuh-install.output
|
$STD bash wazuh-install.sh -a
|
||||||
cat ~/wazuh-install.output | grep -E "User|Password" | awk '{$1=$1};1' | sed '1i wazuh-credentials' > ~/wazuh.creds
|
|
||||||
msg_ok "Setup Wazuh"
|
msg_ok "Setup Wazuh"
|
||||||
|
|
||||||
motd_ssh
|
motd_ssh
|
||||||
@ -37,7 +36,6 @@ customize
|
|||||||
|
|
||||||
msg_info "Cleaning up"
|
msg_info "Cleaning up"
|
||||||
rm -f wazuh-*.sh
|
rm -f wazuh-*.sh
|
||||||
rm -f ~/wazuh-install.output
|
|
||||||
$STD apt-get -y autoremove
|
$STD apt-get -y autoremove
|
||||||
$STD apt-get -y autoclean
|
$STD apt-get -y autoclean
|
||||||
msg_ok "Cleaned"
|
msg_ok "Cleaned"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user