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