Restructure around a single entry point (automations.sh) with a Gum wizard and a self-extracting bundle for repo-less installs. Add scripts/oslib.sh so the provisioning scripts (setup-host, harden-ssh, harden-jumphost, sshuser) run on Alpine/Debian/Alma; seed root keys from globals/. - ntfy SSH-login alerts (user, source IP, key, region, jump target) via pam_exec - daily auto-updates with AUTO_REBOOT=idle (reboots only when no SSH active) and opt-in Alpine stable-branch upgrades - generic + per-deployment cloud-init; Gitea release workflow on tag - README/LICENSE/.gitignore/.gitattributes (force LF); repo URLs -> Gitea
31 lines
1.1 KiB
Plaintext
31 lines
1.1 KiB
Plaintext
# MOTD template, rendered by ../scripts/setup-host.sh.
|
|
#
|
|
# You edit CONTENT here; the renderer draws the borders and handles all
|
|
# spacing, so the box always stays aligned no matter how long a value is.
|
|
#
|
|
# Lines beginning with '#' are comments and ignored. Tokens:
|
|
# @TOP@ top border
|
|
# @BOT@ bottom border
|
|
# @HR@ horizontal divider
|
|
# @BLANK@ empty content line
|
|
# @C@ text centered line (ASCII text)
|
|
# @BOX@ text centered line wrapped in a mini double-line box
|
|
# @F@ Label|value field line: right-aligned label, then value
|
|
#
|
|
# In @F@ values these placeholders are substituted at render time:
|
|
# {{HOSTNAME}} full FQDN (e.g. sto-1.srvno.de)
|
|
# {{NODE_ID}} short name, uppercased (e.g. STO-1)
|
|
# {{DATACENTER}} the DATACENTER value
|
|
#
|
|
# Box width is set by MOTD_WIDTH in setup-host.sh (default 60).
|
|
|
|
@TOP@
|
|
@BOX@ !! DANGER - CRITICAL INFRASTRUCTURE !!
|
|
@C@ YOU are connected to a CRITICAL SYSTEM
|
|
@C@ CHECK YOUR WORK BEFORE RELOAD / RESTART OF THE SERVICE
|
|
@HR@
|
|
@F@ Data Center|{{DATACENTER}}
|
|
@F@ Hostname|{{HOSTNAME}}
|
|
@F@ Node ID|{{NODE_ID}}
|
|
@BOT@
|