#!/bin/sh set -e # Generate machine id if not exists if [ ! -f /etc/machine-id ]; then cat /proc/sys/kernel/random/uuid > /etc/machine-id fi exec $@