fix auto install
This commit is contained in:
@@ -28,7 +28,7 @@ ZABBIX_SERVER="gauntzabbix.home.johnhgaunt.com"
|
|||||||
apt update
|
apt update
|
||||||
|
|
||||||
# install the agent
|
# install the agent
|
||||||
apt install zabbix-agent
|
apt install -y zabbix-agent
|
||||||
|
|
||||||
# ask for the hostname
|
# ask for the hostname
|
||||||
read -e -p "Enter Hostname: " -i "$(cat /etc/hostname)" hostname
|
read -e -p "Enter Hostname: " -i "$(cat /etc/hostname)" hostname
|
||||||
|
|||||||
Reference in New Issue
Block a user