diff --git a/docs/release-notes.md b/docs/release-notes.md index 67d2ead42..6be3dea75 100644 --- a/docs/release-notes.md +++ b/docs/release-notes.md @@ -11,6 +11,8 @@ nav_order: 9 ### Features +- Add OVH Baremetal provider +- Add OVH provider ### Changes diff --git a/docs/supported-platforms.md b/docs/supported-platforms.md index 9ecb590a7..742a72a33 100644 --- a/docs/supported-platforms.md +++ b/docs/supported-platforms.md @@ -27,6 +27,8 @@ Ignition is currently only supported for the following platforms: * [VMware] (`vmware`) - Use the VMware Guestinfo variables `ignition.config.data` and `ignition.config.data.encoding` to provide the config and its encoding to the virtual machine. Valid encodings are "", "base64", and "gzip+base64". Guestinfo variables can be provided directly or via an OVF environment, with priority given to variables specified directly. * [Vultr] (`vultr`) - Ignition will read its configuration from the instance userdata. Cloud SSH keys are handled separately. * [zVM] (`zvm`) - Ignition will read its configuration from the reader device directly. The vmur program is necessary, which requires the vmcp and vmur kernel module as prerequisite, and the corresponding z/VM virtual unit record devices (in most cases 000c as reader, 000d as punch) must be set online. +* [OVH Baremetal] (`ovh-baremetal`) - Ignition will read its configuration from the instance userdata via either metadata service or config drive. Cloud SSH keys are handled separately. +* [OVH] (`ovh`) - Ignition will read its configuration from the instance userdata via either metadata service or config drive. Cloud SSH keys are handled separately. Ignition is under active development, so this list may grow over time. @@ -52,5 +54,7 @@ For most cloud providers, cloud SSH keys and custom network configuration are ha [VMware]: https://www.vmware.com/ [Vultr]: https://www.vultr.com/products/cloud-compute/ [zVM]: http://www.vm.ibm.com/overview/ +[OVH Baremetal]: https://www.ovhcloud.com/en-ie/bare-metal/ +[OVH]: https://www.ovhcloud.com/en-ie/public-cloud/ [Afterburn]: https://coreos.github.io/afterburn/ diff --git a/internal/providers/openstack/openstack.go b/internal/providers/openstack/openstack.go index 4ef352cfe..8dbd3b982 100644 --- a/internal/providers/openstack/openstack.go +++ b/internal/providers/openstack/openstack.go @@ -61,6 +61,16 @@ func init() { Name: "brightbox", Fetch: fetchConfig, }) + // the ovh platform ID just uses the OpenStack provider code + platform.Register(platform.Provider{ + Name: "ovh", + Fetch: fetchConfig, + }) + // the ovh-baremetal platform ID just uses the OpenStack provider code + platform.Register(platform.Provider{ + Name: "ovh-baremetal", + Fetch: fetchConfig, + }) } func fetchConfig(f *resource.Fetcher) (types.Config, report.Report, error) {