From: David Scott Date: Wed, 26 Jan 2011 17:39:04 +0000 (+0000) Subject: CA-32077: the minimal inventory needs a BUILD_NUMBER otherwise xapi will fail to... X-Git-Url: http://xenbits.xensource.com/gitweb?a=commitdiff_plain;h=2dc40d25c12ae2f685976f5e2127d283f03c4aab;p=xcp%2Fxen-api.git CA-32077: the minimal inventory needs a BUILD_NUMBER otherwise xapi will fail to start. Signed-off-by: David Scott --- diff --git a/ocaml/util/util_inventory.ml b/ocaml/util/util_inventory.ml index 6b120b04..103e15f5 100644 --- a/ocaml/util/util_inventory.ml +++ b/ocaml/util/util_inventory.ml @@ -26,6 +26,7 @@ let inventory_filename = Util_globs_inventory.inventory_filename let _installation_uuid = "INSTALLATION_UUID" let _control_domain_uuid = "CONTROL_DOMAIN_UUID" let _management_interface = "MANAGEMENT_INTERFACE" +let _build_number = "BUILD_NUMBER" (* Optional keys: *) let _current_interfaces = "CURRENT_INTERFACES" @@ -45,7 +46,8 @@ let minimum_default_entries () = let dom0_uuid = Uuid.string_of_uuid (Uuid.make_uuid ()) in [ _installation_uuid, host_uuid; _control_domain_uuid, dom0_uuid; - _management_interface, "" ] + _management_interface, ""; + _build_number, "0" ] (* trim any quotes off the ends *) let strip_quotes v =