emissary/misc/docker/docker-agent-wrapper.sh

10 lines
155 B
Bash
Raw Permalink Normal View History

#!/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 $@