From 92bbeb3db0c8035779c51639dd5a34ac6fe57cdb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20M=C3=ADnguez?= Date: Fri, 16 Jan 2026 14:53:20 +0100 Subject: [PATCH 1/2] feat: Include more cloud-init datasources MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Based on https://cloudinit.readthedocs.io/en/latest/reference/datasources.html & https://github.com/rancher/elemental-toolkit/blob/main/pkg/features/embedded/cloud-config-essentials/system/oem/00_rootfs.yaml#L13 This will enable for example deploy harvester on baremetal providers (using openstack or configdrive) or cloud providers. Signed-off-by: Eduardo Mínguez --- files/system/oem/02_datasource.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/files/system/oem/02_datasource.yaml b/files/system/oem/02_datasource.yaml index c1d28ec..9f15864 100644 --- a/files/system/oem/02_datasource.yaml +++ b/files/system/oem/02_datasource.yaml @@ -3,10 +3,10 @@ stages: rootfs.before: - name: "Pull data from provider" datasource: - providers: ["cdrom"] + providers: ["aws", "gcp", "openstack", "cdrom", "configdrive"] path: "/oem" initramfs: - name: "Pull data from provider" datasource: - providers: ["cdrom"] - path: "/oem" \ No newline at end of file + providers: ["aws", "gcp", "openstack", "cdrom", "configdrive"] + path: "/oem" From 69c931f6914f84910f2cb5e202cf2bbd987cf57a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20M=C3=ADnguez?= Date: Sun, 18 Jan 2026 07:45:38 +0100 Subject: [PATCH 2/2] config-drive instead --- files/system/oem/02_datasource.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/system/oem/02_datasource.yaml b/files/system/oem/02_datasource.yaml index 9f15864..4f7e17f 100644 --- a/files/system/oem/02_datasource.yaml +++ b/files/system/oem/02_datasource.yaml @@ -3,10 +3,10 @@ stages: rootfs.before: - name: "Pull data from provider" datasource: - providers: ["aws", "gcp", "openstack", "cdrom", "configdrive"] + providers: ["aws", "gcp", "openstack", "cdrom", "config-drive"] path: "/oem" initramfs: - name: "Pull data from provider" datasource: - providers: ["aws", "gcp", "openstack", "cdrom", "configdrive"] + providers: ["aws", "gcp", "openstack", "cdrom", "config-drive"] path: "/oem"