Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provider OVH & OVH Baremetal #1595

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/release-notes.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ nav_order: 9

### Features

- Add OVH Baremetal provider
- Add OVH provider

### Changes

Expand Down
4 changes: 4 additions & 0 deletions docs/supported-platforms.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand All @@ -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/
10 changes: 10 additions & 0 deletions internal/providers/openstack/openstack.go
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down