Skip to content

Commit 91c0e2e

Browse files
committed
CA-178795: Set the newly created host record as enabled=false
Newly created host will be marked as enabled=false till Xapi is starting on the host. Once Xapi startup sequence is running, Initialising storage step will mark host as enabled=true. Signed-off-by: Sharad Yadav <[email protected]>
1 parent f043152 commit 91c0e2e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ocaml/xapi/xapi_host.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,7 @@ let create ~__context ~uuid ~name_label ~name_description ~hostname ~address ~ex
581581
Db.Host.create ~__context ~ref:host
582582
~current_operations:[] ~allowed_operations:[]
583583
~software_version:(Xapi_globs.software_version ())
584-
~enabled:true
584+
~enabled:false
585585
~aPI_version_major:Xapi_globs.api_version_major
586586
~aPI_version_minor:Xapi_globs.api_version_minor
587587
~aPI_version_vendor:Xapi_globs.api_version_vendor

0 commit comments

Comments
 (0)