fix(config): newline-terminate all deployed config files
29 files under ProjectCode/ConfigFiles lacked a trailing newline. They deploy via `cat file > target`, and several targets are subsequently appended to (notably /etc/ssh/sshd_config, which configure_ssh_2fa appends `AuthenticationMethods publickey,keyboard-interactive` to). Without a trailing newline the append fused onto the last line, producing `LoginGraceTime 60AuthenticationMethods ...`, which sshd -t rejected as an invalid time value and aborted provisioning under errexit. This is the same defect class that already broke the managed authorized_keys files. Add the trailing newline to every config file that was missing one so the cat-then-append pattern is always safe. 🤖 Generated with [Crush](https://github.com/charmassociates/crush) Assisted-by: GLM-5 via Crush <crush@charm.land>
This commit is contained in:
@@ -43,4 +43,4 @@ end_of_event_timeout = 2
|
||||
##krb5_key_file = /etc/audit/audit.key
|
||||
krb5_principal = auditd
|
||||
|
||||
##name = mydomain
|
||||
##name = mydomain
|
||||
|
||||
Reference in New Issue
Block a user