Files
rollcall/deploy/overlays/compute/system/run/rollcall/post-system.sh.tmpl
T
Ilker ManapandClaude Fable 5.1 7fe7c26e22
CI / agent (push) Successful in 3s
CI / site (push) Successful in 3s
CI / go (push) Failing after 36s
Stateless (Warewulf-style) provisioning: profiles, node pools, overlays, dnsmasq export, compute image
Profiles bind a RAM-booted root image to overlay templates; assigning a
machine allocates a node name and management IP, writes the per-MAC PXE
entry with a per-node token and exports static leases for dnsmasq. Nodes
pull rendered overlays (hosts, slurm.conf from inventory, gres.conf, SSH
host key, munge key) through rollcall-overlay.service; the runtime refresh
timer is the heartbeat. Adds the compute-debian13 image definition and a
generic live-build root image script, CLI and web UI for profiles/assign.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-27 02:00:14 +01:00

10 lines
470 B
Cheetah
Executable File

#!/bin/sh
# runs once after the system overlay is applied (node {{ .Node.Name }})
hostnamectl set-hostname {{ .Node.Name }} 2>/dev/null || hostname {{ .Node.Name }}
chown munge:munge /etc/munge/munge.key && chmod 0400 /etc/munge/munge.key
chmod 0600 /etc/ssh/ssh_host_ed25519_key; chmod 0644 /etc/ssh/ssh_host_ed25519_key.pub
chmod 0700 /root/.ssh; chmod 0600 /root/.ssh/authorized_keys
install -d -m 0755 /var/spool/slurmd /var/log/slurm
systemctl daemon-reload
exit 0