Bug Fix #36: Default Profile name template error

The "Initial Default Workstation Profile" had an incorrect Computer Name
Template set by default. This does not affect newly created Device
Profiles which use a valid template.
This commit is contained in:
Gary Sharp
2014-01-23 13:36:19 +11:00
parent 2ddf4b7bd9
commit 10394c4e39
3 changed files with 4 additions and 2 deletions
@@ -73,7 +73,7 @@ namespace Disco.Web.Areas.Config.Controllers
{
DeviceProfile = new DeviceProfile()
{
ComputerNameTemplate = "DeviceProfile.ShortName + '-' + SerialNumber",
ComputerNameTemplate = DeviceProfile.DefaultComputerNameTemplate,
ProvisionADAccount = true,
DistributionType = DeviceProfile.DistributionTypes.OneToMany
}