ci: Remove extraneous copy of ssh_known_hosts

This doesn't actually work, because the shell expands `~` to the value
of the `HOME` environment variable, but `ssh` ignores that variable and
reads from the path from the user's `passwd` entry.  Since managed hosts
all have certificates now, and the CA key is included in the global host
key database, individual host keys are not needed anymore anyway.
frigate-exporter
Dustin 2024-01-28 12:18:55 -06:00
parent 1bff9b2649
commit b5c54d7bb3
1 changed files with 0 additions and 2 deletions

View File

@ -53,8 +53,6 @@ def stageKinit() {
sh 'kinit -kt "${KEYTAB}" jenkins@PYROCUFFLINK.BLUE' sh 'kinit -kt "${KEYTAB}" jenkins@PYROCUFFLINK.BLUE'
} }
sh 'rm -rf .fact-cache' sh 'rm -rf .fact-cache'
sh 'install -m u=rwx,go= -d ~/.ssh'
sh 'cp roles/ssh-hostkeys/files/ssh_known_hosts ~/.ssh/known_hosts'
} }
} }