tripleo-common/scripts
Steve Baker 82a80c72ed Auto-detect partition types for mounting more images
This change replaces the behaviour which makes assumptions about the
partition layout based simply on how many partitions there are.

Instead, attributes of the block device are used to infer whether the
partition is a boot, EFI, or root device.

This change is required to mount the RHEL-9 image, which is a
whole-disk image that has boot, EFI, and root partitions.

Images known to correctly mount with this change include:
overcloud-full.qcow2
overcloud-hardened-uefi-full.qcow2
CentOS-Stream-GenericCloud-8-20210603.0.x86_64.qcow2
CentOS-Stream-GenericCloud-9-20220127.0.x86_64.qcow2
rhel-guest-image-9.0-20220125.3.x86_64.qcow2
openSUSE-Leap-15.3.x86_64-NoCloud.qcow2
bionic-server-cloudimg-amd64.img
bionic-server-cloudimg-amd64.squashfs
debian-10-openstack-amd64.qcow2

A similar approach may be attempted to add rhel-9 support to
diskimage-builder extract-image.

This change also fixes an incorrect check path in the remove_device
function.

Change-Id: I4397a660e874ff351f5da697ddc504e0f2c8cf5a
2022-02-14 11:23:42 +13:00
..
bindep-install Add bindep support to tox 2019-06-07 15:14:01 -05:00
bootstrap_host_exec Add bashate in gate jobs and fix existing errors 2018-09-17 11:36:57 +02:00
bootstrap_host_only_eval Add bashate in gate jobs and fix existing errors 2018-09-17 11:36:57 +02:00
bootstrap_host_only_exec Add bashate in gate jobs and fix existing errors 2018-09-17 11:36:57 +02:00
containerfile-converter.py Implement a new Container Images layout 2020-06-04 13:54:47 +00:00
pull-puppet-modules Replace git.openstack.org URLs with opendev.org URLs 2019-05-31 10:51:20 +08:00
README-tripleo.sh Remove tripleo.sh (now in tripleo-ci repo) 2016-03-15 08:01:22 -04:00
tripleo-build-images Fix bashate and flake8 errors 2019-06-14 19:23:53 +01:00
tripleo-config-download Fix bashate and flake8 errors 2019-06-14 19:23:53 +01:00
tripleo-mount-image Auto-detect partition types for mounting more images 2022-02-14 11:23:42 +13:00
tripleo-unmount-image Add scripts tripleo-mount-image, tripleo-unmount-image 2021-09-07 10:52:26 +12:00
upload-artifacts Remove unused input parameters for upload-artifacts 2021-09-10 18:23:28 +10:00
upload-puppet-modules Remove unused input parameters for upload-artifacts 2021-09-10 18:23:28 +10:00
upload-swift-artifacts Update artifact tooling for swiftless underclouds 2021-04-12 13:32:37 +00:00