#!/bin/bash set -euo pipefail read -r name < /etc/hostname exec /usr/bin/hostname "$name"