Use bootloader element instead of grub2

bootloader is recommended since it aims to build a valid grub config
instead of just installing the packages.

Change-Id: I642a1579e95dfff2188206313ea6d315b0533a5f
Depends-On: https://review.opendev.org/c/openstack/diskimage-builder/+/916021
This commit is contained in:
Steve Baker 2024-04-17 08:16:54 +12:00
parent 198df8e4be
commit ae56dee1bf
2 changed files with 4 additions and 4 deletions

View File

@ -30,13 +30,13 @@
- name: Build a centos8 wholedisk image
command: >
disk-image-create centos grub2 vm {{ centos_block_device | default('') }}
disk-image-create centos bootloader vm {{ centos_block_device | default('') }}
-o centos8-wholedisk
environment:
DIB_RELEASE: 8-stream
- name: Build a centos8 partition image
command: disk-image-create centos grub2 baremetal -o centos8-partition
command: disk-image-create centos bootloader baremetal -o centos8-partition
environment:
DIB_RELEASE: 8-stream

View File

@ -30,13 +30,13 @@
- name: Build a centos9 wholedisk image
command: >
disk-image-create centos grub2 vm {{ centos_block_device | default('') }}
disk-image-create centos bootloader vm {{ centos_block_device | default('') }}
-o centos9-wholedisk
environment:
DIB_RELEASE: 9-stream
- name: Build a centos9 partition image
command: disk-image-create centos grub2 baremetal -o centos9-partition
command: disk-image-create centos bootloader baremetal -o centos9-partition
environment:
DIB_RELEASE: 9-stream