Skip to content

Commit 83fddf6

Browse files
committed
Remove ssh_known_hosts update
1 parent 74f6e80 commit 83fddf6

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

cookbooks/boxcutter_builder/recipes/default.rb

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -56,12 +56,13 @@
5656
mode '0700'
5757
end
5858

59-
ssh_known_hosts_entry 'github.com' do
60-
file_location '/home/github-runner/.ssh/known_hosts'
61-
owner 'github-runner'
62-
group 'github-runner'
63-
mode '0600'
64-
end
59+
# MT: Interrupts ssh connections
60+
# ssh_known_hosts_entry 'github.com' do
61+
# file_location '/home/github-runner/.ssh/known_hosts'
62+
# owner 'github-runner'
63+
# group 'github-runner'
64+
# mode '0600'
65+
# end
6566

6667
craft_rsa_ssh_key_private = \
6768
Boxcutter::OnePassword.op_read('op://Automation-Org/craft SSH Key/private key')
@@ -118,20 +119,21 @@
118119
content craft_rsa_ssh_key_private
119120
end
120121

121-
ssh_known_hosts_entry 'github.com' do
122-
file_location '/home/github-runner/.ssh/known_hosts'
123-
owner 'github-runner'
124-
group 'github-runner'
125-
mode '0600'
126-
end
127-
128-
# arm64 builder
129-
ssh_known_hosts_entry '10.0.1.175' do
130-
file_location '/home/github-runner/.ssh/known_hosts'
131-
owner 'github-runner'
132-
group 'github-runner'
133-
mode '0600'
134-
end
122+
# MT: Interrupts ssh connections
123+
# ssh_known_hosts_entry 'github.com' do
124+
# file_location '/home/github-runner/.ssh/known_hosts'
125+
# owner 'github-runner'
126+
# group 'github-runner'
127+
# mode '0600'
128+
# end
129+
#
130+
# # arm64 builder
131+
# ssh_known_hosts_entry '10.0.1.175' do
132+
# file_location '/home/github-runner/.ssh/known_hosts'
133+
# owner 'github-runner'
134+
# group 'github-runner'
135+
# mode '0600'
136+
# end
135137

136138
node.default['boxcutter_docker']['buildx']['github-runner'] = {
137139
'home' => '/home/github-runner',

0 commit comments

Comments
 (0)