From a00fbca5f464d751e5459a4b3df69ccac466027d Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Sun, 13 Apr 2014 03:06:22 +0200 Subject: [PATCH] Fix the setup script. Refs #4865 --- pki/icinga2-setup-agent.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pki/icinga2-setup-agent.cmake b/pki/icinga2-setup-agent.cmake index b92a04ef4..ff9b04b8c 100644 --- a/pki/icinga2-setup-agent.cmake +++ b/pki/icinga2-setup-agent.cmake @@ -128,7 +128,7 @@ if [ -n "$1" ]; then fi echo "Installing the certificate bundle..." - tar -C $ICINGA2CONFIG/pki/agent/ -zxf "$1" || exit 1 + base64 -d < $1 | tar -C $ICINGA2CONFIG/pki/agent/ -zx || exit 1 chown @ICINGA2_USER@:@ICINGA2_GROUP@ $ICINGA2CONFIG/pki/agent/* || exit 1 echo "Setting up agent configuration..."