From bb897502e0a1f30376c94ce4e42f9baae3011583 Mon Sep 17 00:00:00 2001 From: Yaguang Tang Date: Wed, 14 Nov 2012 10:51:08 +0800 Subject: fix flag type define error. Change-Id: Ieac6bfaf3bf8f967e76873c933cf131d7d7a91b1 --- nova/virt/xenapi/agent.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/virt/xenapi/agent.py b/nova/virt/xenapi/agent.py index 9fad07898..dac6061a9 100644 --- a/nova/virt/xenapi/agent.py +++ b/nova/virt/xenapi/agent.py @@ -50,7 +50,7 @@ xenapi_agent_opts = [ 'configuration is not injected into the image. ' 'Used if compute_driver=xenapi.XenAPIDriver and ' ' flat_injected=True'), - cfg.StrOpt('xenapi_disable_agent', + cfg.BoolOpt('xenapi_disable_agent', default=False, help='Disable XenAPI agent. Reduces the amount of time ' 'it takes nova to detect that a VM has started, when ' -- cgit