generate machine-id