From 177b2aa69a5012c65e62f7cc2794660e14c07d2f Mon Sep 17 00:00:00 2001 From: Gaurav Mehta Date: Fri, 20 Dec 2024 18:03:09 +1100 Subject: [PATCH] lookup cdrom datasource in rootfs.before stage (cherry picked from commit a223b86c2578c5f005689bbf02b0215e81aced9a) --- files/system/oem/02_datasource.yaml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/files/system/oem/02_datasource.yaml b/files/system/oem/02_datasource.yaml index 2800cd2..c1d28ec 100644 --- a/files/system/oem/02_datasource.yaml +++ b/files/system/oem/02_datasource.yaml @@ -1,5 +1,10 @@ name: "Elemental cloud-config from a removable device" stages: + rootfs.before: + - name: "Pull data from provider" + datasource: + providers: ["cdrom"] + path: "/oem" initramfs: - name: "Pull data from provider" datasource: