add ssh keys to logs_sender container on bootstrap
@@ -85,6 +85,7 @@ func createUploadLogsCmd(host *models.Host, baseURL, agentImage, mastersIPs stri
}
cmdArgsTmpl += "timeout 1h podman run --rm --privileged --net=host " +
"-v /run/systemd/journal/socket:/run/systemd/journal/socket -v /var/log:/var/log " +
+ "{{if .BOOTSTRAP}} -v /root/.ssh:/root/.ssh -v /tmp:/tmp {{end}}" +
"--env PULL_SECRET_TOKEN --name logs-sender --pid=host {{.AGENT_IMAGE}} logs_sender " +
"-url {{.BASE_URL}} -cluster-id {{.CLUSTER_ID}} -host-id {{.HOST_ID}} " +
"--insecure={{.SKIP_CERT_VERIFICATION}} -bootstrap={{.BOOTSTRAP}} -with-installer-gather-logging={{.INSTALLER_GATHER}}" +
