This patch gives FOG the ability to create hostnames during quick registration which are based on values from the DMI instead of only an incrementing number.
The desired DMI value is placed in curly brackets in the configuration line in the FOG settings page.
Valid DMI values are:
SYSMAN, SYSPRODUCT, SYSVERSION, SYSSERIAL, SYSTYPEBIOSVERSION, BIOSVENDOR, BIOSDATE, MBMAN, MBPRODUCTNAME, MBVERSION, MBSERIAL, MBASSET, CPUMAN, CPUVERSION, CPUCURRENT, CPUMAX, MEM, HDINFO, CASEMAN, CASEVER, CASESERIAL, CASESASSET
ROOM1-* still works for incrementing numbers.