Zabbix client in Infscape appliance

How do I install the Zabbix client on the Infscape appliance?

Updates reset the OS so you’ll have to install all software in a /var/urbackup/post-system-update.local script (don’t forget to make it executable).

And then e.g. with contents

#!/bin/bash

set -e

export DEBIAN_FRONTEND=noninteractive
apt-get update
apt-get install zabbix-agent
sed -i 's/# Hostname=/Hostname=yourserver.com/g' /etc/zabbix/zabbix_agentd.conf

Setup the script and the cron job in this script as well…