]> ruderich.org/simon Gitweb - safcm/safcm.git/commit
config: add .Host and .Hostname to templates
authorSimon Ruderich <simon.ruderich@fau.de>
Tue, 20 Jan 2026 19:09:27 +0000 (20:09 +0100)
committerSimon Ruderich <simon.ruderich@fau.de>
Tue, 20 Jan 2026 19:13:06 +0000 (20:13 +0100)
commitd7065a88d706a232e9db02dab7fc3711b5d36bbd
tree72dc7b90809acff86831a6ed24dd44a083406401
parent0bcd287fcf625bb7c7ba51bb7f29c0436a02e3e2
config: add .Host and .Hostname to templates

.Host is the hostname as configured in hosts.yaml (most likely a FQDN).
.Hostname is just the name (before the first dot).
cmd/safcm/config/templates.go