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
This commit is contained in:
parent
198df8e4be
commit
9344f74290
|
@ -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