diff options
author | Scott Moser <smoser@ubuntu.com> | 2018-08-17 20:25:31 +0000 |
---|---|---|
committer | Server Team CI Bot <josh.powers+server-team-bot@canonical.com> | 2018-08-17 20:25:31 +0000 |
commit | aaffd59431fe05932a66016db941fe197c4e7620 (patch) | |
tree | 5560ef84c35ca20150c2e5780268b2830962acf4 /cloudinit/sources/__init__.py | |
parent | 47548df9ded4ad4088d3d846f1876b29b16aa7d1 (diff) | |
download | vyos-cloud-init-aaffd59431fe05932a66016db941fe197c4e7620.tar.gz vyos-cloud-init-aaffd59431fe05932a66016db941fe197c4e7620.zip |
Add datasource Oracle Compute Infrastructure (OCI).
This adds a Oracle specific datasource that functions with OCI.
It is a simplified version of the OpenStack metadata server
with support for vendor-data.
It does not support the OCI-C (classic) platform.
Also here is a move of BrokenMetadata to common 'sources'
as this was the third occurrence of that class.
Diffstat (limited to 'cloudinit/sources/__init__.py')
-rw-r--r-- | cloudinit/sources/__init__.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cloudinit/sources/__init__.py b/cloudinit/sources/__init__.py index 06e613f8..41fde9ba 100644 --- a/cloudinit/sources/__init__.py +++ b/cloudinit/sources/__init__.py @@ -671,6 +671,10 @@ def convert_vendordata(data, recurse=True): raise ValueError("Unknown data type for vendordata: %s" % type(data)) +class BrokenMetadata(IOError): + pass + + # 'depends' is a list of dependencies (DEP_FILESYSTEM) # ds_list is a list of 2 item lists # ds_list = [ |