docs: def _change_secure_boot_settings(self, property, value):
          """Change secure boot settings on the server."""
          system = self._get_host_details()
          # find the BIOS URI
          if ('links' not in system['Oem']['Hp'] or
             'SecureBoot' not in system['Oem']['Hp']['links']):
              msg = (' "SecureBoot" resource or feature is not '
                     'supported on this system')
              raise exception.IloCommandNotSupportedError(msg)
  
          secure_boot_uri = system['Oem']['Hp']['links']['SecureBoot']['href']
  
          # Change the property required
          new_secure_boot_settings = {}
          new_secure_boot_settings[property] = value
  
          # perform the patch
          status, headers, response = self._rest_patch(
              secure_boot_uri, None, new_secure_boot_settings)
  
          if status >= 300:
              msg = self._get_extended_error(response)
              raise exception.IloError(msg)
  
          # Change the bios setting as a workaround to enable secure boot
          # Can be removed when fixed for Gen9 snap2
          val = self._get_bios_setting('CustomPostMessage')
          val = val.rstrip() if val.endswith(" ") else val+" "
          self._change_bios_setting({'CustomPostMessage': val})