diff options
| author | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2011-02-28 16:59:00 +0000 |
|---|---|---|
| committer | Salvatore Orlando <salvatore.orlando@eu.citrix.com> | 2011-02-28 16:59:00 +0000 |
| commit | 026c83551fa2e07f7f20d6b163f7da93e331b084 (patch) | |
| tree | 60bcd46cc7b4dd20bf3d1fbc20d1230fdeb43bed /nova/virt | |
| parent | 72940957611bcba7dc41bfe9232743369d9a151f (diff) | |
Fixed obvious errors with flags.
Note: tests still fail.
Diffstat (limited to 'nova/virt')
| -rw-r--r-- | nova/virt/xenapi_conn.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nova/virt/xenapi_conn.py b/nova/virt/xenapi_conn.py index 4fc69961d..b9e87c2ce 100644 --- a/nova/virt/xenapi_conn.py +++ b/nova/virt/xenapi_conn.py @@ -100,13 +100,13 @@ flags.DEFINE_integer('xenapi_vhd_coalesce_max_attempts', 5, 'Max number of times to poll for VHD to coalesce.' ' Used only if connection_type=xenapi.') -flags.DEFINE_integer('xenapi_inject_image', +flags.DEFINE_bool('xenapi_inject_image', True, 'Specifies whether an attempt to inject network/key' ' data into the disk image should be made.' ' Used only if connection_type=xenapi.') -flags.DEFINE_integer('xenapi_agent_path', - '/usr/sbin/xe-update-networking' +flags.DEFINE_string('xenapi_agent_path', + '/usr/sbin/xe-update-networking', 'Specifies the path in which the xenapi guest agent' ' should be located. If the agent is present,' ' network configuration if not injected into the image' |
