Skip to content

Commit

Permalink
example: use new otk-make-grub2-inst-stage stage in centos
Browse files Browse the repository at this point in the history
Use the new `otk-make-grub2-inst-stage` to remove hardcoded
values from the centos examples.
  • Loading branch information
mvo5 authored and supakeen committed Sep 16, 2024
1 parent 5ae94f1 commit 06992aa
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 26 deletions.
15 changes: 2 additions & 13 deletions example/centos/centos-9-x86_64-ami.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -340,20 +340,9 @@ otk.target.osbuild:
${fs_options.devices}
mounts:
${fs_options.mounts}
- type: org.osbuild.grub2.inst
options:
filename: image.raw
- otk.external.otk-make-grub2-inst-stage:
platform: i386-pc
location: 2048
core:
type: mkimage
partlabel: gpt
filesystem: xfs
prefix:
type: partition
partlabel: gpt
number: 2
path: /grub2
filesystem: ${filesystem}
sources:
org.osbuild.curl:
items:
Expand Down
15 changes: 2 additions & 13 deletions example/centos/centos-9-x86_64-qcow2.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -252,20 +252,9 @@ otk.target.osbuild:
${fs_options.devices}
mounts:
${fs_options.mounts}
- type: org.osbuild.grub2.inst
options:
filename: disk.img
- otk.external.otk-make-grub2-inst-stage:
platform: i386-pc
location: 2048
core:
type: mkimage
partlabel: gpt
filesystem: xfs
prefix:
type: partition
partlabel: gpt
number: 2
path: /grub2
filesystem: ${filesystem}
- name: qcow2
build: name:build
stages:
Expand Down

0 comments on commit 06992aa

Please sign in to comment.