Use the correct user to ssh to the BTS

This commit is contained in:
Monocots 2020-05-19 23:00:32 +00:00
parent f002e5fe56
commit 149014be19
2 changed files with 2 additions and 1 deletions

View file

@ -83,7 +83,7 @@ check_trx() {
<% @bts.each_with_index do |bts, index| -%>
b<%= index %>() {
ssh -o StrictHostKeyChecking=no root@<%= bts["ip"] %>
ssh -o StrictHostKeyChecking=no <%= @bts_user[bts["model"]] %>@<%= bts["ip"] %>
}
<% end -%>