diff options
author | Monty Taylor <mordred@inaugust.com> | 2015-05-29 07:39:20 -0400 |
---|---|---|
committer | Monty Taylor <mordred@inaugust.com> | 2015-05-30 13:10:23 -0400 |
commit | d503f0594fbdc377c07e4d79ce2cb08f6226aa7d (patch) | |
tree | ce8ced83865ecfdafcaeea1cdd587f38a4a6cc0e | |
parent | daab3615e2884100f88a797570c1326c8139983c (diff) | |
download | os-client-config-d503f0594fbdc377c07e4d79ce2cb08f6226aa7d.tar.gz |
Add list of image params needed to disable agents
Some clouds have an in-instance agent to handle things like online
password resets and other such activities. When building and uploading
images, it's often advantageous to not install such an agent and instead
handle such things via config management... but doing so requires data
to be set on the image itself.
Change-Id: I5b7c9d72fd2d49890bc466d7dd22a3cb9595f670
-rw-r--r-- | doc/source/vendor-support.rst | 3 | ||||
-rw-r--r-- | os_client_config/defaults.py | 1 | ||||
-rw-r--r-- | os_client_config/vendors.py | 4 |
3 files changed, 8 insertions, 0 deletions
diff --git a/doc/source/vendor-support.rst b/doc/source/vendor-support.rst index 02e0937..602dd2b 100644 --- a/doc/source/vendor-support.rst +++ b/doc/source/vendor-support.rst @@ -48,6 +48,9 @@ HKG Hong Kong * Images must be uploaded using the Glance Task Interface * Floating IPs are not needed * Security groups are not supported +* Uploaded Images need properties to not use vendor agent +:vm_mode: hvm +:xenapi_use_agent: False Dreamhost --------- diff --git a/os_client_config/defaults.py b/os_client_config/defaults.py index 11a94c4..e921492 100644 --- a/os_client_config/defaults.py +++ b/os_client_config/defaults.py @@ -25,6 +25,7 @@ _defaults = dict( object_api_version='1', secgroup_source='neutron', volume_api_version='1', + disable_vendor_agent={}, ) diff --git a/os_client_config/vendors.py b/os_client_config/vendors.py index ed8d047..68a70c5 100644 --- a/os_client_config/vendors.py +++ b/os_client_config/vendors.py @@ -34,6 +34,10 @@ CLOUD_DEFAULTS = dict( image_format='vhd', floating_ip_source=None, secgroup_source=None, + disable_vendor_agent=dict( + vm_mode='hvm', + xenapi_use_agent=False, + ) ), dreamhost=dict( auth=dict( |