diskimage-builder/diskimage_builder/elements
Steve Baker a6e0bf83db Add a growvols utility for growing LVM volumes
There is currently no automated way of growing LVM volumes on boot
like single partition images do with their growroot mechanism. This
lack likely contributes to LVM not being widely used on VM and
baremetal workloads, since growing to the full disk requires workload
knowledge to determine which volumes to grow and by what amount.

The growvols element contributes a growvols python script which can be
run on firstboot (via systemd or cloud-init) or manually via
automation such as ansible. It is also an interactive script which
displays the full list of modifying commands before prompting for
confirmation to run them all.

By default the script will grow the root volume, but arguments allow
any volume to grow by a specified amount, or a percentage of the
available disk space.

Blueprint: whole-disk-default
Change-Id: Idcf774384e56cce03e56c0e19c7d08a768606399
2021-07-01 11:16:31 +12:00
..
apt-conf
apt-preferences Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
apt-sources
baremetal
base Debuntu: add apt-transport-https 2020-04-02 10:11:35 +11:00
block-device-efi Add element block-device-efi-lvm 2021-06-01 17:27:28 +12:00
block-device-efi-lvm Add element block-device-efi-lvm 2021-06-01 17:27:28 +12:00
block-device-gpt Choose appropriate bootloader for block-device 2018-02-23 10:04:44 +11:00
block-device-mbr
bootloader bootloader: remove extlinux/syslinux path 2021-05-13 10:33:06 +10:00
cache-url Fix cache-url -f 2020-02-05 10:19:12 +01:00
centos Fix centos stream set mirror 2021-04-02 06:56:45 +00:00
centos7 Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
centos-minimal Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
cleanup-kernel-initrd
cloud-init update various gentoo bits 2020-08-24 10:21:35 -05:00
cloud-init-datasources
cloud-init-disable-resizefs Disable growpart in cloud-init-disable-resizefs 2020-10-06 14:03:57 +02:00
cloud-init-nocloud
containerfile containerfile: automatically search for distro docker files 2021-05-10 15:36:28 +10:00
debian
debian-minimal debian-minimal: bullseye: /updates -> -security 2021-04-28 17:07:22 +00:00
debian-systemd
debian-upstart
debootstrap debian-minimal: Set bullseye version 2021-04-28 09:48:22 -07:00
deploy-baremetal
deploy-kexec Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
deploy-targetcli
deploy-tgtadm
devuser
dhcp-all-interfaces Add support for vlan interfaces in dhcp-all-interfaces.sh 2020-11-03 10:04:17 -05:00
dib-init-system Introduce manual setting of DIB_INIT_SYSTEM 2019-11-21 12:38:15 +11:00
dib-python Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
dib-run-parts Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
disable-nouveau Ensure nouveau is blacklisted in initramfs too 2019-10-23 10:16:00 +11:00
disable-selinux dib-lint: test elements have README.rst file 2020-01-20 11:43:43 +01:00
dkms Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
docker
dpkg Rename duplicating 10-debian-minimal.bash 2020-09-18 14:52:56 +10:00
dracut-network
dracut-ramdisk
dracut-regenerate Fix building error with element dracut-regenerate 2021-01-14 01:30:52 +00:00
dynamic-login Fix dynamic-login with grub2 2020-11-20 15:00:54 +01:00
element-manifest
enable-serial-console update various gentoo bits 2020-08-24 10:21:35 -05:00
ensure-venv Add ensure-venv element, install glean with it 2020-03-10 11:57:43 +11:00
epel Ensure yum-utils is installed in epel element 2020-10-08 09:49:57 +02:00
fedora Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
fedora-container Fix DISTRO_NAME in Fedora elements 2021-05-17 10:02:09 +10:00
fedora-minimal Fix DISTRO_NAME in Fedora elements 2021-05-17 10:02:09 +10:00
gentoo update gentoo keywords to support gcc-10 2021-03-18 23:24:31 -05:00
growroot Revert "dib-lint: use yamllint to parse YAML files" 2020-05-28 16:44:49 +10:00
growvols Add a growvols utility for growing LVM volumes 2021-07-01 11:16:31 +12:00
grub2 Use x86 architeture specific grub2 packages for RHEL 2019-09-12 15:06:17 -04:00
hpdsa replace the link which is in the 06-hpdsa file 2021-03-12 19:16:50 +08:00
hwburnin
hwdiscovery
ibft-interfaces
ilo
install-bin pip-and-virtualenv: drop f31 & tumbleweed, rework suse 15 install 2020-04-23 08:10:26 +10:00
install-static
install-types
iscsi-boot Fix centos 8.3 partition image building error with element iscsi-boot 2021-01-14 02:05:20 +00:00
iso Merge "Change paths for bootloader files in iso element" 2021-03-16 09:56:07 +00:00
journal-to-console
local-config
lvm Allow processing 'focal' ubuntu release in lvm 2020-10-28 16:55:49 +02:00
manifests
mellanox Mellanox element: removed ibutils,libibcm,libmlx4-dev 2020-03-23 00:06:53 +02:00
modprobe modprobe.d: use $TMP_MOUNT_PATH 2019-12-18 11:42:02 -05:00
modprobe-blacklist
no-final-image Remove the deprecated ironic-agent element 2021-01-21 14:06:08 +01:00
oat-client
openssh-server
openstack-ci-mirrors Merge "Add arm64 based functional test" 2019-12-16 21:31:51 +00:00
opensuse Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
opensuse-minimal Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
package-installs Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
pip-and-virtualenv Change get-pip url 2021-03-08 09:19:28 +01:00
pip-cache
pkg-map Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
posix
proliant-tools Fix installation of proliant tools 2021-03-03 19:04:50 +01:00
pypi Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
python-brickclient
python-stow-versions Fix python-stow-versions 2020-11-17 09:23:32 +00:00
ramdisk
ramdisk-base
rax-nova-agent Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
redhat-common Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
rhel Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
rhel7
rhel-common Make DIB_DNF_MODULE_STREAMS part of yum element 2021-04-07 16:06:09 +05:30
rpm-distro dib-lint: test elements have README.rst file 2020-01-20 11:43:43 +01:00
runtime-ssh-host-keys
select-boot-kernel-initrd Move elements & lib relative to diskimage_builder package 2016-11-01 17:27:41 -07:00
selinux-permissive
simple-init Install pbr before glean to address SNI issues 2021-04-23 15:04:26 -07:00
source-repositories Install git-core instead of git on RH systems 2020-11-26 17:16:31 +01:00
stable-interface-names
svc-map update various gentoo bits 2020-08-24 10:21:35 -05:00
sysctl
sysprep Ensure machine-id is not included in images 2019-09-20 03:17:50 +00:00
uboot
ubuntu Run autoremove on post-install step 2020-11-17 09:23:35 +00:00
ubuntu-common Support secure-boot bootloader where possible 2021-03-11 10:27:59 +13:00
ubuntu-minimal Add 'DIB_UBUNTU_MIRROR_DISTS' to ubuntu-minimal 2021-01-27 10:32:49 +02:00
ubuntu-signed
ubuntu-systemd-container Deprecate dib-python; remove from in-tree elements 2020-08-07 10:38:16 +10:00
vm
yum Merge "Install epel-release from URL" 2021-05-10 01:28:32 +00:00
yum-minimal Don't install centos-linux-release on 8-stream 2021-02-23 12:57:05 +13:00
zipl Delete the duplicate words in 50-zipl 2019-01-07 10:02:35 +08:00
zypper Fix login.defs config for tumbleweed 2019-12-02 16:21:45 -08:00
zypper-minimal Install gzip instead of busybox-gzip on suse 2020-09-14 16:00:47 -07:00
__init__.py