Change ssh/config permissions to 600
ssh/config permissions are 664 currently, causing error `Bad owner or permissions on /home/jenkins/.ssh/config` http://logs.openstack.org/68/461368/1/check/gate-kolla-ansible-dsvm-deploy-centos-binary-centos-7-nv/0a94da7/console.html#_2017-05-01_12_06_08_440775 config file should only be writen by owner. Closes-Bug: #1687408 Change-Id: Id804f11a91858fa297e5236beb2110e3511eabec
This commit is contained in:
parent
602e1238eb
commit
ba6e3249d2
@ -116,6 +116,7 @@ function setup_ssh {
|
|||||||
|
|
||||||
# From now on use the new IdentityFile for connecting to other hosts
|
# From now on use the new IdentityFile for connecting to other hosts
|
||||||
echo "IdentityFile /home/jenkins/.ssh/kolla" >> /home/jenkins/.ssh/config
|
echo "IdentityFile /home/jenkins/.ssh/kolla" >> /home/jenkins/.ssh/config
|
||||||
|
chmod 600 /home/jenkins/.ssh/config
|
||||||
}
|
}
|
||||||
|
|
||||||
function setup_inventory {
|
function setup_inventory {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user