# HG changeset patch # User Rob Hoes CA-34613: Make hp-rombios empty if it is not "COMPAQ" Signed-off-by: Rob Hoes diff -r e562f0f710e1 ocaml/xapi/bios_strings.ml --- a/ocaml/xapi/bios_strings.ml Thu Nov 05 10:20:49 2009 +0000 +++ b/ocaml/xapi/bios_strings.ml Thu Nov 05 10:24:38 2009 +0000 @@ -80,7 +80,7 @@ (fun () -> Unix.close mem) with _ -> () end; - trim (remove_invisible hp_rombios) + if trim (remove_invisible hp_rombios) = "COMPAQ" then "COMPAQ" else "" let set_host_bios_strings ~__context ~host = info "Setting host BIOS strings.";