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:
parent
198df8e4be
commit
ae56dee1bf
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue