If you are using custom images, ensure that the OS type has been specified on the Morpheus virtual image settings. I think platform is derived from that.
It seems that if you deploy a VMware instance type and select a Windows image in the provisioning wizard, it always picks up ‘L’ regardless of the platform. Does this sound like a bug?
@dgaharwar I think the logic is working but the platform is not being read as “windows”, because it is unknown/null, so it uses the or/else case which is “L”
Platform needs to be interpretted off of the Node type connected to a Layout. If you use a generic cloud type provisioning (VMware, Azure, SCVMM, etc) there is no direct Node type associated with that Layout and it defaults to the else.
You must create a custom Instance Type, Layout, and Node Type for this to be decipherable.