mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-27 07:34:15 +02:00
parent
be213ab7c5
commit
6ebebb22d6
@ -87,6 +87,9 @@ if [ -n "$1" ]; then
|
||||
fi
|
||||
fi
|
||||
|
||||
upstream_connect=n
|
||||
|
||||
if [ "$master" = "n" ]; then
|
||||
while true; do
|
||||
echo -n "Do you want this agent instance to connect to the upstream instance? [y] "
|
||||
if ! read upstream_connect; then
|
||||
@ -131,6 +134,7 @@ if [ -n "$1" ]; then
|
||||
echo "Please enter the upstream instance's port."
|
||||
done
|
||||
fi
|
||||
fi
|
||||
|
||||
echo "Installing the certificate bundle..."
|
||||
base64 -d < $1 | tar -C $ICINGA2CONFIG/pki/agent/ -zx || exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user