Project

General

Profile

Revision be52ca64

Added by Ondřej Pražák almost 8 years ago

renamed everything

View differences:

app/views/foreman/unattended/snippets/_jenkins_instance_pubkey.erb
1 1
echo "running jenkins_pubkey snippet"
2 2
mkdir -p /root/.ssh
3 3
touch /root/.ssh/authorized_keys || exit
4
echo "<%= @host.params['integration_jenkins_pubkey']%>" >> /root/.ssh/authorized_keys
4
echo "<%= @host.params['foreman_pipeline_jenkins_pubkey']%>" >> /root/.ssh/authorized_keys
5 5

  
6 6
<% if @host.operatingsystem.name.match(/centos/i) -%>
7 7
restorecon -R -v /root/.ssh

Also available in: Unified diff