mirror of
https://github.com/lalanza808/xmr.sh.git
synced 2025-05-10 16:55:01 -04:00
pass generation fix, bump
This commit is contained in:
parent
5f599d84ff
commit
6d3b92486e
1 changed files with 2 additions and 5 deletions
7
install
7
install
|
@ -38,7 +38,7 @@ StatInfo="${White}${On_Black}"
|
|||
################################################################
|
||||
# Vars #
|
||||
################################################################
|
||||
VERSION="v0.3.0"
|
||||
VERSION="v0.3.1"
|
||||
XMRSH_DIR="/opt/xmr.sh"
|
||||
XMRSH_BRANCH="main"
|
||||
XMRSH_URL="https://github.com/vdo/xmr.sh"
|
||||
|
@ -295,10 +295,7 @@ configure_grafana() {
|
|||
sed -i '/#!monero-exporter/s/# //g' docker-compose.yml
|
||||
sed -i '/#!grafana/s/# //g' docker-compose.yml
|
||||
sed -i '/#!prometheus/s/# //g' docker-compose.yml
|
||||
GRAFANA_PASSWORD="$(
|
||||
tr </dev/urandom -dc _A-Z-a-z-0-9 | head -c"${1:-12}"
|
||||
echo
|
||||
)"
|
||||
GRAFANA_PASSWORD="$(openssl rand -base64 9)"
|
||||
sed -i "s/GF_SECURITY_ADMIN_PASSWORD=.*/GF_SECURITY_ADMIN_PASSWORD=${GRAFANA_PASSWORD}/g" .env
|
||||
break
|
||||
;;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue