Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed Wazuh ASCII art logo display in OVA #192

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ All notable changes to this project will be documented in this file.

### Fixed

- Fixed Wazuh ASCII art logo display in OVA. ([#192](https://github.com/wazuh/wazuh-virtual-machines/pull/192))
- Fixed video in grub configuration for the OVA. ([#190](https://github.com/wazuh/wazuh-virtual-machines/pull/190))
- Changed ssh config file to allow ssh while FIPS is activated. ([#184](https://github.com/wazuh/wazuh-virtual-machines/pull/184))
- Fixed Vagrant synced folder error in OVA. ([#183](https://github.com/wazuh/wazuh-virtual-machines/pull/183))
Expand Down
11 changes: 5 additions & 6 deletions ova/assets/custom/messages.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,8 @@ Login credentials:
EOF

# User Welcome message
cat > /etc/update-motd.d/30-banner <<EOF

#!/bin/sh
cat << EOF
rm -f /usr/lib/motd.d/30-banner
cat > /usr/lib/motd.d/40-wazuh-banner <<EOF
wwwwww. wwwwwww. wwwwwww.
wwwwwww. wwwwwww. wwwwwww.
wwwwww. wwwwwwwww. wwwwwww.
Expand All @@ -45,6 +43,7 @@ wwwwwww. wwwwwww. wwwwwww.

WAZUH Open Source Security Platform
https://wazuh.com


EOF

# Show the Wazuh banner once in SSH
echo -e "\nif [[ \"\$(tty)\" == /dev/tty* ]]; then\n cat /usr/lib/motd.d/40-wazuh-banner\nfi" | sudo tee -a /etc/profile
Loading