mirror of https://github.com/Icinga/icinga2.git
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…
Reference in New Issue