Skip to content

Instantly share code, notes, and snippets.

@tserong
Created March 26, 2025 02:13
Show Gist options
  • Save tserong/c3ad79766a66829f7afc8761c2acb169 to your computer and use it in GitHub Desktop.
Save tserong/c3ad79766a66829f7afc8761c2acb169 to your computer and use it in GitHub Desktop.
Harvester MOTD experiment
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