Make error messages for invalid machine names consistent
Set the default machine name to a hostname with a random sequence

The random sequence consists of three alphanumeric characters. All
lowercase letters.