tripleo-common/scripts
Steve Baker 5f55ee2bd1 Add scripts tripleo-mount-image, tripleo-unmount-image
Now that the whole-disk image is being deployed, mounting an image
using tools like kpartx or qemu-nbd is much more involved, requiring
knowledge of the image LVM volumes and their intended mount points.

The scripts tripleo-mount-image and tripleo-unmount-image will mount
the contents of an overcloud image file using qemu-nbd, making it available
for chroot, or other read/write image operations. The scripts handle
partition images (overcloud-full.qcow2) as well as the whole-disk image
(overcloud-hardened-uefi-full.qcow2) with its multiple LVM volume mount
points.

qemu-nbd was chosen over kpartx as downstream documentation[1] has
standardized on this tool for mount based image modifications.

tripleo-unmount-image is a symlink to tripleo-mount-image and behaves
differently based on the script name.

Blueprint: whole-disk-default
[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/16.1/html/bare_metal_provisioning/booting-from-cinder-volumes

Change-Id: I3267b4ae5200eeed333a9518865260d23315f52c
2021-09-07 10:52:26 +12:00
..
README-tripleo.sh Remove tripleo.sh (now in tripleo-ci repo) 2016-03-15 08:01:22 -04: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
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 Add scripts tripleo-mount-image, tripleo-unmount-image 2021-09-07 10:52:26 +12:00
tripleo-unmount-image Add scripts tripleo-mount-image, tripleo-unmount-image 2021-09-07 10:52:26 +12:00
upload-artifacts Update artifact tooling for swiftless underclouds 2021-04-12 13:32:37 +00:00
upload-puppet-modules Update artifact tooling for swiftless underclouds 2021-04-12 13:32:37 +00:00
upload-swift-artifacts Update artifact tooling for swiftless underclouds 2021-04-12 13:32:37 +00:00