Comment 9 for bug 1507025

Revision history for this message
Bernd Dietzel (l-ubuntuone1104) wrote :

#! /bin/sh
# run this as root early in the boot order. No other script like hostname.sh should run later
HOSTNAME="$(hostname|sed 's/[^A-Za-z0-9_\-\.]/x/g')";hostname "$HOSTNAME"