Skip to content

Commit 8e7608a

Browse files
committed
providers/ovh-baremetal: add first implementation
This provider uses openstack settings.
1 parent 36b3331 commit 8e7608a

File tree

3 files changed

+8
-0
lines changed

3 files changed

+8
-0
lines changed

docs/release-notes.md

+1
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ nav_order: 9
1111

1212
### Features
1313

14+
- Add OVH Baremetal provider
1415

1516
### Changes
1617

docs/supported-platforms.md

+2
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ Ignition is currently only supported for the following platforms:
2727
* [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.
2828
* [Vultr] (`vultr`) - Ignition will read its configuration from the instance userdata. Cloud SSH keys are handled separately.
2929
* [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.
30+
* [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.
3031

3132
Ignition is under active development, so this list may grow over time.
3233

@@ -52,5 +53,6 @@ For most cloud providers, cloud SSH keys and custom network configuration are ha
5253
[VMware]: https://www.vmware.com/
5354
[Vultr]: https://www.vultr.com/products/cloud-compute/
5455
[zVM]: http://www.vm.ibm.com/overview/
56+
[OVH Baremetal]: https://www.ovhcloud.com/en-ie/bare-metal/
5557

5658
[Afterburn]: https://coreos.github.io/afterburn/

internal/providers/openstack/openstack.go

+5
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,11 @@ func init() {
6161
Name: "brightbox",
6262
Fetch: fetchConfig,
6363
})
64+
// the ovh-baremetal platform ID just uses the OpenStack provider code
65+
platform.Register(platform.Provider{
66+
Name: "ovh-baremetal",
67+
Fetch: fetchConfig,
68+
})
6469
}
6570

6671
func fetchConfig(f *resource.Fetcher) (types.Config, report.Report, error) {

0 commit comments

Comments
 (0)