3
0
mirror of https://github.com/rvalitov/zabbix-php-fpm.git synced 2023-11-05 03:30:27 +01:00

[add] show host info

This commit is contained in:
Ramil Valitov 2020-06-29 15:28:33 +03:00
parent 388eef5b61
commit 94f3af4599
No known key found for this signature in database
GPG Key ID: 2AB186DABDFE1914

View File

@ -98,6 +98,11 @@ getAnyPort() {
} }
oneTimeSetUp() { oneTimeSetUp() {
echo "Host info:"
nslookup localhost
sudo ifconfig
sudo cat /etc/hosts
echo "Copying Zabbix files..." echo "Copying Zabbix files..."
#Install files: #Install files:
sudo cp "$TRAVIS_BUILD_DIR/zabbix/zabbix_php_fpm_discovery.sh" "/etc/zabbix" sudo cp "$TRAVIS_BUILD_DIR/zabbix/zabbix_php_fpm_discovery.sh" "/etc/zabbix"