Created
March 26, 2025 02:13
-
-
Save tserong/c3ad79766a66829f7afc8761c2acb169 to your computer and use it in GitHub Desktop.
Harvester MOTD experiment
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Harvester MOTD | |
stages: | |
initramfs: | |
- commands: | |
- | | |
cat <<EOF > /etc/motd | |
██╗░░██╗░█████╗░██████╗░██╗░░░██╗███████╗░██████╗████████╗███████╗██████╗░ | |
██║░░██║██╔══██╗██╔══██╗██║░░░██║██╔════╝██╔════╝╚══██╔══╝██╔════╝██╔══██╗ | |
███████║███████║█████╔╝╚██╗░░██╔╝█████╗░░╚█████╗░░░░██║░░░█████╗░░██████╔╝ | |
██╔══██║██╔══██║██╔══██╗░╚████╔╝░██╔══╝░░░╚═══██╗░░░██║░░░██╔══╝░░██╔══██╗ | |
██║░░██║██║░░██║██║░░██║░░╚██╔╝░░███████╗██████╔╝░░░██║░░░███████╗██║░░██║ | |
╚═╝░░╚═╝╚═╝░░╚═╝╚═╝░░╚═╝░░░╚═╝░░░╚══════╝╚═════╝░░░░╚═╝░░░╚══════╝╚═╝░░╚═╝ | |
EOF | |
printf '%74s\n\n' "$(yq '"version: " + .harvester' /etc/harvester-release.yaml)" >> /etc/motd | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment