Add some scripts to the bts

Also, allocate a tty when ssh to the BTS
This commit is contained in:
Keith Whyte 2020-05-22 04:00:37 +02:00
parent b1f8621aff
commit ea3e00ee8e
4 changed files with 3 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 <%= @bts_user[bts["model"]] %>@<%= bts["ip"] %> $*
ssh -t -o StrictHostKeyChecking=no <%= @bts_user[bts["model"]] %>@<%= bts["ip"] %> $*
}
<% end -%>