#!/bin/bash -e

apt-get clean

if [ "$BBN_KIND" == "LITE" ] ; then
  exit 0
fi

apt-get -y -q install grafana

systemctl disable grafana-server

sed -i 's/3000/3080/g' /etc/grafana/grafana.ini
sed -i 's/;http_port/http_port/g' /etc/grafana/grafana.ini

apt-get clean

