Oracle - cloud-init 25.1.2 documentation (original) (raw)
Toggle table of contents sidebar
This datasource reads meta-data, vendor-data and user-data fromOracle Compute Infrastructure (OCI).
Oracle platform¶
OCI provides bare metal and virtual machines. In both cases, the platform identifies itself via DMI data in the chassis asset tag with the string'OracleCloud.com'
.
Oracle’s platform provides a instance metadata service that mimics the2013-10-17
version of OpenStack instance metadata service. Initially, support for Oracle was done via the OpenStack datasource.
Cloud-init
has a specific datasource for Oracle in order to:
- Allow and support the future growth of the OCI platform.
- Address small differences between OpenStack and Oracle meta-data
implementation.
Configuration¶
The following configuration can be set for the datasource in system configuration (in /etc/cloud/cloud.cfg
or/etc/cloud/cloud.cfg.d/
).
configure_secondary_nics
¶
A boolean, defaulting to False. If set to True on an OCI Virtual Machine,cloud-init
will fetch networking meta-data from Oracle’s instance metadata service and use it to configure the non-primary network interface controllers in the system. If set to True on an OCI Bare Metal Machine, it will have no effect (though this may change in the future).
max_wait
¶
An integer, defaulting to 30. The maximum time in seconds to wait for the instance metadata service to become available. If the instance metadata service is not available within this time, the datasource will fail.
timeout
¶
An integer, defaulting to 5. The time in seconds to wait for a response from the instance metadata service before retrying.
Example configuration¶
An example configuration with the default values is provided below:
datasource: Oracle: configure_secondary_nics: false max_wait: 30 timeout: 5