# Include Additional Functions
if [ ! -f /etc/opt/slapcache.cfg ]; then
  slapcache-conf
fi
sed -i "s/key = slapos-global-key/key = slapos-global-unstable-key/g" /etc/opt/slapcache.cfg 

DFILE=$(mktemp -d -t tmpplaybook_unstable"$(basename "$0")".XXXXXXXXXXXX)
TFILE="archive.tar.gz"
cd "$DFILE" || exit 1
slapcache-download --destination=$TFILE
tar -xzvf $TFILE
rm $TFILE
