ESXi

 View Only
  • 1.  Are there any advanced settings to override hardware information?

    Posted Dec 28, 2019 06:47 PM

    Motherboard I'm using with esxi came preloaded with default strings for Manufacturer and Model information. Both show up as "To Be Filled By O.E.M." within esxi. Alas these strings are not customization via the bios, and the bios image would need to be manually edited to specify them at the source.

    Is there a setting to override these strings on the esxi level? Something that would use a specificed value instead of a string acquired from BIOS? Alternative would be to hide the two entries, as this would be preferred to showing an incomplete setup process.

    Perhaps these values are read in one time during the setup? Is there a file I can edit via SSH to override these values?

    Thank you,

    Gene



  • 2.  RE: Are there any advanced settings to override hardware information?

    Posted Dec 30, 2019 03:26 AM

    These information is fetched from BMC.

    You can not edit it (atleast from host side).



  • 3.  RE: Are there any advanced settings to override hardware information?

    Posted Dec 30, 2019 05:31 AM

    Since I could not edit the data in BIOS, and didn't want to void the warranty by reolling out modified BIOS just to correctly specify the information, I've adjusted the data in the proxy instead.

    This will only work for those who use nginx proxy, like me, to provide security / SSL benefits to the esxi UI, here is my nginx config that works and overrides the strings to correct values:

    server {

        listen 443 ssl;

       

        server_name esxi.*;


        # ssl from linuxserver/letsencrypt

        include /config/nginx/ssl.conf;


        client_max_body_size 0;

       

        location /ticket/ {

            proxy_read_timeout 3600;

            proxy_set_header   Host '10.0.0.10'; #replace IP with your esxi install

            proxy_http_version 1.1;

            proxy_set_header Upgrade $http_upgrade;

            proxy_set_header Connection "upgrade";

            proxy_pass https://10.0.0.10;

           

        }


        location / {

            sub_filter '<vendor>To be filled by O.E.M.' '<vendor>Custom Vendor';

            sub_filter '<model>To be filled by O.E.M.' '<model>Custom Model;

            sub_filter '<identifierValue>To be filled by O.E.M.' '<identifierValue>Custom Tag';

            proxy_set_header   Host '10.0.0.10';

            sub_filter_types text/xml;

            sub_filter_once off;

            proxy_pass https://10.0.0.10;

        }

       

        location ~* \.(?:jpg|jpeg|gif|bmp|ico|png|swf)$ {

            proxy_set_header   Host '10.0.0.10';

            proxy_pass https://10.0.0.10;

            access_log off;

        }

    }