mirror of
https://github.com/tteck/Proxmox.git
synced 2024-12-28 07:51:55 +00:00
Update alpine-grafana.sh
add `newt` check
This commit is contained in:
parent
2facedfe71
commit
0e49af62df
@ -52,6 +52,9 @@ function default_settings() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function update_script() {
|
function update_script() {
|
||||||
|
if ! apk -e info newt >/dev/null 2>&1; then
|
||||||
|
apk add newt
|
||||||
|
fi
|
||||||
LXCIP=$(ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
LXCIP=$(ip a s dev eth0 | awk '/inet / {print $2}' | cut -d/ -f1)
|
||||||
while true; do
|
while true; do
|
||||||
CHOICE=$(
|
CHOICE=$(
|
||||||
|
Loading…
Reference in New Issue
Block a user