diff options
| author | Yaguang Tang <heut2008@gmail.com> | 2012-11-14 10:51:08 +0800 |
|---|---|---|
| committer | Yaguang Tang <heut2008@gmail.com> | 2012-11-14 10:55:01 +0800 |
| commit | bb897502e0a1f30376c94ce4e42f9baae3011583 (patch) | |
| tree | 7de4707ef665bc401a6c2c250e30f4962e4d6f00 | |
| parent | aa2bb87a5e28cb19a0e9244807daacb16f59ce03 (diff) | |
| download | nova-bb897502e0a1f30376c94ce4e42f9baae3011583.tar.gz nova-bb897502e0a1f30376c94ce4e42f9baae3011583.tar.xz nova-bb897502e0a1f30376c94ce4e42f9baae3011583.zip | |
fix flag type define error.
Change-Id: Ieac6bfaf3bf8f967e76873c933cf131d7d7a91b1
| -rw-r--r-- | nova/virt/xenapi/agent.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 ' |
