Remove transform_boot_image

Apparently, it was used with Trusty images, but it no longer does anything.

Change-Id: I3abd79c64aeac44b295a22f68de5841e92c44f67
This commit is contained in:
Dmitry Tantsur 2020-09-08 13:08:38 +02:00
parent e026d0d110
commit 3d07f8e7d5
6 changed files with 5 additions and 16 deletions

View File

@ -37,9 +37,7 @@
enable-serial-console
{{ dib_init_element|default('simple-init') }}
{{ extra_dib_elements|default('') }}
when:
- create_image_via_dib | bool
- not transform_boot_image | bool
when: create_image_via_dib | bool
environment:
http_proxy: "{{ lookup('env','http_proxy') }}"
https_proxy: "{{ lookup('env','https_proxy') }}"

View File

@ -54,11 +54,6 @@ mysql_password:
create_image_via_dib: true
dib_image_type: vm
# Transform boot image is intended for use with the Ubuntu trusty image.
# It makes the image bootable by installing Grub.
# Setting to prepend a partition image with a boot sector and partition table.
transform_boot_image: false
# Create IPA image instead of downloading an pre-made IPA image.
create_ipa_image: false

View File

@ -54,11 +54,6 @@ mysql_password:
create_image_via_dib: true
dib_image_type: vm
# Transform boot image is intended for use with the Ubuntu trusty image.
# It makes the image bootable by installing Grub.
# Setting to prepend a partition image with a boot sector and partition table.
transform_boot_image: false
# Create IPA image instead of downloading an pre-made IPA image.
create_ipa_image: false

View File

@ -24,8 +24,6 @@ create_image_via_dib: true
dib_image_type: vm
# Setting to install diskimage-builder
install_dib: "{{ create_image_via_dib }}"
# Setting to prepend a partition image with a boot sector and partition table.
transform_boot_image: false
# If testing is true, then the environment is setup for using libvirt
# virtual machines for the hardware instead of real hardware.
testing: false

View File

@ -66,7 +66,7 @@
dib_os_element: "debian"
dib_os_release: "buster"
dib_elements: "vm enable-serial-console simple-init {{ extra_dib_elements|default('') }}"
when: create_image_via_dib | bool and not transform_boot_image | bool
when: create_image_via_dib | bool
- role: bifrost-keystone-client-config
user: "{{ ansible_env.SUDO_USER | default(ansible_user_id) }}"
clouds:

View File

@ -0,0 +1,3 @@
other:
- |
Removes the no longer used ``transform_boot_image`` variable.