#!/bin/bash # Usage: hook_name hook_msg LOGFILE=/var/log/ganeti/hooks.log cat >>$LOGFILE <