|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-API] [PATCH] CA-34613: Make hp-rombios empty if it is not "COMPAQ"
# HG changeset patch
# User Rob Hoes <rob.hoes@xxxxxxxxxx>
CA-34613: Make hp-rombios empty if it is not "COMPAQ"
Signed-off-by: Rob Hoes <rob.hoes@xxxxxxxxxx>
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.";
Attachment:
ca-34613 _______________________________________________ xen-api mailing list xen-api@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/mailman/listinfo/xen-api
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |