Skip to content

Commit

Permalink
providers/ovh: add first implementation
Browse files Browse the repository at this point in the history
This provider uses openstack settings.
  • Loading branch information
spnngl committed Mar 31, 2023
1 parent 8e7608a commit 6c8ebdc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ nav_order: 9
### Features

- Add OVH Baremetal provider
- Add OVH provider

### Changes

Expand Down
2 changes: 2 additions & 0 deletions docs/supported-platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ Ignition is currently only supported for the following platforms:
* [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.

Expand All @@ -54,5 +55,6 @@ For most cloud providers, cloud SSH keys and custom network configuration are ha
[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/
5 changes: 5 additions & 0 deletions internal/providers/openstack/openstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@ 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",
Expand Down

0 comments on commit 6c8ebdc

Please sign in to comment.