From 1b23f4e558854f28705106c040d9911698be2028 Mon Sep 17 00:00:00 2001 From: Keith Whyte Date: Thu, 26 Jan 2023 00:45:44 +0100 Subject: [PATCH] Add BTS models to vars Make this data available to shell scripts --- modules/rhizo_base/templates/vars.sh.erb | 1 + 1 file changed, 1 insertion(+) diff --git a/modules/rhizo_base/templates/vars.sh.erb b/modules/rhizo_base/templates/vars.sh.erb index eb4c979..4af9bbb 100644 --- a/modules/rhizo_base/templates/vars.sh.erb +++ b/modules/rhizo_base/templates/vars.sh.erb @@ -20,6 +20,7 @@ declare -a BTS_MASTER <% @bts.each_with_index do |bts, index| -%> BTS[<%= index %>]=<%= bts["ip"] %> LAC[<%= index %>]=<%= bts["lac"] %> +MODEL[<%= index %>]=<%= bts["model"] %> <% if bts ["model"] == '2050M' -%> BTS_MASTER[<%= index %>]=<%= bts["ip"] %> <% end -%>