EMCC: baremetal provisioning on X5-2L

Two issues noted during EMCC provisioning on X5-2L:

  • When EMCC is running behind a load balancer that listen on the https default port 443, the OMS_PORT is left empty in the configuration file /scratch/stage/xx/agentInstall.properties
  • Irrespective of the ACPI settings set in the provisioning plan, the PXE file generated on /tftpboot/pxelinux.cfg/<mac-adress> contains a directive acpi=off which cause a server panic.

The workaround for both issues is to edit the provisioning script emcore/sysman/metadata/swlib/bmp/directives/provisioningDirective.pl to fix the port assignment issue and remove the directive acpi=off