Skip to content

Commit

Permalink
move datasource lookup to initramfs stage after the fs are setup
Browse files Browse the repository at this point in the history
(cherry picked from commit b2a2308)
  • Loading branch information
ibrokethecloud authored and bk201 committed Dec 13, 2024
1 parent f363c57 commit ff32e26
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 0 additions & 5 deletions files/system/oem/00_rootfs.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
name: "Rootfs Layout Settings"
stages:
rootfs.before:
- name: "Pull data from provider"
datasource:
providers: ["cdrom"]
path: "/oem"
rootfs:
- if: '[ ! -f "/run/cos/recovery_mode" ]'
name: "Layout configuration"
Expand Down
7 changes: 7 additions & 0 deletions files/system/oem/02_datasource.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
name: "Elemental cloud-config from a removable device"
stages:
initramfs:
- name: "Pull data from provider"
datasource:
providers: ["cdrom"]
path: "/oem"

0 comments on commit ff32e26

Please sign in to comment.