first arg is hostname and exit is > 0 if nothing is generated