- Update to 3.37.0:
- Supports Gentoo profile 23.0 and removes support for the
nonworking 17.1 and 17.0 profiles.
- Gentoo element updated to avoid using testing (~arch) packages.
- Gentoo element now uses upstream binary package host by default.
- Fixes an issue where an image using the manifest element could
fail to build when using a non-root user. See bug 2069956.
- Fixed an issue where the growroot element on openrc init systems
would not function.
- Fixed an issue where the devuser element was unable to grant sudo
capabilities on gentoo images.
- Fixed an issue in Gentoo implmentation for install-packages
element where build time would grow linearly with each additional
package removal. Now, all removed packages are deselected and
removed in a single transaction.
- 3.36.0:
- The vm element is no longer included dependency of the
rocky-container, almalinux-container and fedora-container
elements. You will need to update your build configuration to
include this element if you still wish to create partitioned disk
based images.
- 3.34.0:
- Adds the ability for diskimage-builder to create images with
different block sizes. By default, this remains at the default of
512 bytes, but some newer devices require 4096 bytes to be used,
which impacts the overall layout rendering 512 byte images
incompatible. This setting can also be asserted and overridden
using the DIB_BLOCK_SIZE environment variable, but alternatively
exists as a new block_size parameter for local_loop section in
block device YAML documents.
OBS-URL: https://build.opensuse.org/request/show/1275540
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=69
* Start running dib-lint again
* Install Fedora ifcfg NM compat package
* added elrepo element
* changed release check logic in lvm element
* Allow flake8 version 5
* Support LVM thin provisioning
* Add thin provisioning support to growvols
* rocky : create machine-id in 9
* Allow setting ROOT\_LABEL from environment
* Do dmsetup remove device in rollback
* Add Rockylinux 9 build configuration and update jobs for 8 and 9
* Add subscription-manager repo names for RHEL-9
* Disable the opensuse functest
* Upgrade openEuler to 22.03 LTS
* rockylinux : create machine-id early
* cache-url: turn off -x by default
* opensuse: better report checksum errors
* ubuntu: more exact match on squashfs file, containerfile: use focal
* Allow Gentoo to manage python versions by itself
* Parse block device lvm lvs size attributes
* update default python for gentoo to 3.10
* Removing old grub removal step
* Use internal dhcp client for centos 9-stream and beyond
* Fix BLS entries for /boot partitions
* Add Fedora 36 support
* containerfile: warn if we don't have a Dockerfile
* Add support for Python 3.10
* Revert "CentOS 9-stream : work around selinux permissions issue"
* Fix backward regex match
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=65
- Update to 2.28.0
* Add NetworkManager and dhcp-client for CentOS 8
* Fix networking for CentOS 8
* simple-init: Use wrappers to call pip for glean install
* simple-init: default to NetworkManager for CentOS and Fedora
* Add security mirror override for debian-minimal
* pip-and-virtualenv : deprecate source for CentOS 8, new variables
* yum-minimal: Don't install yum, install libcurl
* Use $YUM instead of direct calls in more places
* Add environment switch for centos8 to use dnf
* Update redhat-common pkg-map for centos 8
* Update locales for Centos 8
* dib-python : handle centos 8
* yum-minimal : update mirrors for Centos 8
* Remove "failovermethod=priority" for Fedora (dnf)
* Install Python 3 libselinux packages for Fedora
* Revert "Fixed use of flake8"
* Only install doc requirements if needed
* Use x86 architeture specific grub2 packages for RHEL
* Move doc related modules to doc/requirements.txt
OBS-URL: https://build.opensuse.org/request/show/737037
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=58
- Update to 2.26.1
* zypper-minimal: Don't get confused by etc/resolv.conf symlink
* simple-init: add configurable RA timeout with network-manager
* update gentoo systemd profile to 17.1 from 17.0
* block-device-efi : expand disk size calculation
* Don't show all elements found
* dracut-regenerate: catch failures and exit code
* Fixes packages for arm64 bootloader
* Fixes DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE matching when empty
* Fix the pypi element for multiple mirror URLs
* Stop regex warning
* Create /etc/machine-id for RHEL images
* fix comments / spelling errors in gentoo element
* support alternate portage directories
* journal-to-console: element to send systemd journal to console
* update version of open-iscsi that is installed on musl
* Cleanup: remove useless statement
OBS-URL: https://build.opensuse.org/request/show/725213
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=54
- Update to 2.25.0
* Only enable dbus-daemon on fedora-29
* Set router solicitation delay with using NM
* [RHEL-8] Set _clear_old_files=0 in install-pip element
* disable autounmask for emerge
* ironic-agent: Use targetcli & python3-devel on rhel8
* Mailing lists change openstack-dev to openstack-discuss
* install gnupg2 by default in debian-minimal
* set default sources conf for buster as it now has a release
* Enable nodepool testing for opensuse 15.1
* Replace nodepool func jobs
* Move existing Zuul project config to projects.yaml
* Move Zuul config in-repo
* Add DIB_UBUNTU_KERNEL to ubuntu-minimal
* Sync Sphinx requirement
* Update test coverage for openSUSE/-minimal to 15.1
* Remove the rhel 8 check for xfs
* debootstrap: make default network interface names configurable
* Move pypi to dib-python
* ironic-agent: install mdadm on the ramdisk
* Use architecture-specific grub2 RPMs on RHEL8
* Increase size of EFI system partition (again)
* bindep: exclude zypper from debian-stretch
* Makes image caching more resilient
* fail early when lates build information can not be fetched
* Deprecate rhel7 in favor of rhel
* Add version-less RHEL element for RHEL7 and RHEL8
* allow the use of non-bzip compressed stages for building gentoo
* Replace git.openstack.org URLs with opendev.org URLs
* Use megabyte granularity for image extra space
OBS-URL: https://build.opensuse.org/request/show/715466
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=52
- Upgrade to 2.22.0
* Only enable dbus-daemon for fedora-29 and below
* Switch simple-init to support python3
* openssh-server: harden sshd config
* Support defining the free space in the image
* Allow specification of filesystem journal size
* Document the various global filesystem options
* Constraint networkx to <2.3 for Python 2
* Fix Fedora aarch64 image location
* debian-minimal buster support
* Also use selinuxenabled to check selinux status
OBS-URL: https://build.opensuse.org/request/show/703278
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=50
- Version bump to 2.20.1
* pip-and-virtualenv: handle centos image-based builds
* pip-and-virtualenv : only remove system files on centos
* Enable dbus-broker for Fedora 29
* fix systemd import-tar for gentoo
* Add python3-setuptools to bindep.txt for Fedora
* support cracklib in pam for Gentoo's musl profile
* Make sure $TMP_BUILD_DIR/mnt is owned by root
* change to python36 for gentoo
* source-repositories: Replace documentation http with https links
* Delete the duplicate words in 50-zipl
* Change phase to check for dracut-regenerate in iscsi-boot
* Add policycoreutils-python-utils to bindep
* Use template for lower-constraints
* simple-init: allow for NetworkManager support
* package-installs: provide for skip from env var
* Add an element to configure iBFT network interfaces
* move selinux-permissive configure to pre-install phase
* Update to Fedora 29
* Increase size of EFI system partition
OBS-URL: https://build.opensuse.org/request/show/676537
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=42
- Version bump to 2.18.0
* Add ubuntu-systemd-container operating-system element
* Turn on quiet mode when logfile specified
* Fix epel repo rewrite, add to testing
* Add a post-root.d phase
* Fix DIB_DISTRIBUTION_MIRROR_UBUNTU_IGNORE regex typo
* Add support for Fedora 28, remove EOL Fedora 26
* ubuntu: Add options to ignore mirror components and use insecure repos
* simplify overlay logic for Gentoo
* simplify python3.6 selection on gentoo
* Turn down pkg-map and hook copy tracing output
* enable caching for gentoo builds
* Add a pre-finalise.d phase
* Minor documentation updates
* Allow debootstrap to cleanup without a kernel
* Fail build due to missing kauditd only when SELinux is enabled
* Fix DIB ubuntu-minimal running on bionic (18.04)
* ubuntu-common: Update default DIB_RELEASE to bionic
* Move common ubuntu environment setting to ubuntu-common element
* allow building non-gentoo images on gentoo hosts
OBS-URL: https://build.opensuse.org/request/show/646577
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=40
- Version bump to 2.17.0
* Only append DIB_BOOTLOADER_DEFAULT_CMDLINE to default grub entry
* Fix CentOS image build failure when dib runs on system where audit disabled
* Fix bootloader packages for aarch64
* Install ca-certificate with redhat-common
* Add netcat to redhat-common map-packages
* Only detach device if all partitions have been cleaned
* Move LVM cleanup phase into cleanup
* Add DIB element to blacklist nouveau
* modprobe DIB_MODPROBE_BLACKLIST should be optional
* cache-url requires curl
* Fix for proper LVM support
* Call kpartx remove in umount, not cleanup
* block-device lvm: fix umount phase
* Don't quote names with sgdisk
* better handle existing keywords files/directories
* IPA requires iptables
* Install sudo on Gentoo images by deault
OBS-URL: https://build.opensuse.org/request/show/635708
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=38
- Version bump to 2.16.0
* Update pylint to 1.7.6, uncap networkx
* Add expected semicolons for dhclient.conf
* Add keyring if supplied
* Add new modprobe element
* Add iscsi-boot element for CentOS images
* Fix /etc/network/interfaces file contents
* Convert labels to upper case
* Fix bootloader for efi on rhel systems
* Don't run setfiles on /boot/efi
* Add iscsi-boot element
* Fix bootloader packages for rhel
* Don't install zypper on bionic
* Rename output log files
* Save and close stdout on exit
* Reduce path length in PS4 for debug
* Use surrogateescape with outfilter.py
* Fix encoding issue during processing output
- Package improvements
* convert to python3
* Improve description
* spec-cleaner fixes
OBS-URL: https://build.opensuse.org/request/show/623931
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=36
- Version bump to 2.15.1
* elements: pip-and-virtualenv: Handle openSUSE Leap 15
* Allow to rebuild arbitrary images
* Replace the ubuntu-minimal trusty test with a bionic one
* Remove non-maintained ubuntu-core element
* elements: zypper-minimal: Add support for openSUSE Leap 15.X
* Add Ubuntu 18.04 support
* Remove duplicate GRUB command line entry
* rpm-distro: set the contentdir yum var
* Trivial: update url to new url
* Fixes add-apt-keys in dpkg element
* Add pip cache cleanup to pip-and-virtualenv
* pip-and-virtualenv: fix install-pip when centos-release-openstack is enabled
* Stop using slave_scripts/install-distro-packages.sh
OBS-URL: https://build.opensuse.org/request/show/614938
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=33
- Version bump to 2.14.1
* Fix epel element for centos-minimal
* Revert "debootstrap: Call update-initramfs explicitly"
* Remove installed packages before pip install
* Don't only install python3-virtualenv
* Don't use -e to test for what might be broken symlink
* add lower-constraints job
* Set the dhclient timeout to match DIB_DHCP_TIMEOUT
* Formalise saving of /etc/resolv.conf
* Restore tracing on exit points of block_device_create_config_file
* delete unused module
* debootstrap: Call update-initramfs explicitly
* Change the GENTOO_PORTAGE_CLEANUP variable default
* Fix element-provides in debian element
* Revert "Remove tripleo jobs"
* enable systemd profile for Gentoo
* install sudo in the devuser element
* Fix default partition type
* Remove tripleo jobs
* remove portage git directory
* Updated from global requirements
* Updated from global requirements
* proliant-tools: add net-tools package to support hpsum utility
* Make the build reproducible
* Updated from global requirements
* secondary architectures use different url
* Fix for rhel7 iso image creation.
* Fix for passing user defined value for satellite cert for rhel-common.
* arm64: use HWE kernel and fix console
* Choose appropriate bootloader for block-device
OBS-URL: https://build.opensuse.org/request/show/602517
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=31
- Version bump to 2.11.0
* Install systemd earlier for Ubuntu Bionic
* update gentoo vars for new profile and python
* Set default label for XFS disks
* Don't install dmidecode on Fedora ppc64le
* Updated from global requirements
* Add support for Fedora 27, remove EOL Fedora 25
* Don't fstrim vfat partitions
* Remove RH1 check OVB jobs from configuration
* upgrade pip before using -c option
* Correct link address
* Updated from global requirements
* Add SUSE Mapping
* Revert "Dont install python-pip for py3k"
* Adding mapping for SUSE package
* Check source-repository-* files for trailing newline
* ironic-agent: don't remove make
* Remove architecture rules on lshw dependency in ironic-agent
* zypper: fix package removal
* Avoid tox_install.sh for constraints support
* Fix wrong epel-release-7* package URL
* Add the groundwork for musl profile support
* Enable support for Gentoo overlays
* Pre-install curl
* Install fedora-gpg-keys for F27
* Make preinstall.d more deterministic
* Use EPEL for debootstrap on centos
* Fix /dev/pts mount options handling
* Make python changes more reliable
* Remove setting of version/release from releasenotes
OBS-URL: https://build.opensuse.org/request/show/584825
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=29
- Version bump to 2.9.0
* Add initramfs-tools for ubuntu-minimal
* Create /etc/machine-id for fedora
* Use latest Fedora .qcow URL
* Updated from global requirements
* Add missing package dependency for yaml
* Mention the need of dracut-regenerate element
* Move the ordering of the dracut regenerate command
* Fix cylical systemd config for dhcp-all-interfaces
* LVM support for dib-block-device
* Increase timeout for removal
* Add netbase to ensure /etc/protocols is placed for debian
* Add kpartx as a requirement to build images
* Clear up debian element documentation
* Bump fedora/fedora-minimal DIB_RELEASE 26
* Allow users to specify partition type in the MBR PTE
- Fix env-script-interpreter rpmlint warnings.
OBS-URL: https://build.opensuse.org/request/show/548112
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=27
- Version bump to 2.7.0
* Move setfiles to outside chroot with runcon
* doc: supported_distros: Add openSUSE Leap 42.2/3 and Tumbleweed
* Add -m flag to setfiles for Fedora 26
* yum-minimal: pre-install coreutils
* Force install during pip-and-virtualenv
* Fix latest-limit command line
* opensuse-minimal: install glibc-locale
* elements: openstack-ci-mirrors: Use openSUSE mirrors for gating jobs
* Remove DIB_[DISTRO]_DISTRIBUTION_MIRROR
* doc: Switch from oslosphinx to openstackdocstheme
* The correct option for label name in fat and vfat is '-n'
* zypper-minimal: No point in preserving the environment here
* Remove additional Bumblebee repository for opensuse element
* Enable console during kernel boot on Power
* fix readme.rst to reflect correct environment variable
* Add symlink test for resolv.conf restore
* pip-and-virtualenv: Install python3 on openSUSE
* Support for Cloud Images on ppc64le for rhel7 and centos7
* bindep.txt: Exclude gnupg2 package on openSUSE
* Avoid hanging endlessly on unreachable cache urls
* elements: pip-and-virtualenv: Use common packages for openSUSE
* Remove mirror create
* Remove centos and rhel elements
* Updated from global requirements
* dib-lint: Ignore editor temp files for linting run
* Fix mkfs use wrong label option for vfat
* Use the dib python to do cleanup
* Replace architecture-emulation-binaries with qemu-debootstrap
OBS-URL: https://build.opensuse.org/request/show/512230
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=22
- Version bump to 2.6.0
* PPC bootloader; install to boot partition
* Pass all blockdevices to bootloader
* Move global mount tracking into state
* Use global state to check for duplicate fs labels
* Remove 'state' argument from later cmd_* calls
* Use picked nodes for later cmd_* calls
* Don't make image & loopdev functions static
* Add env var to dump config graph
* Move ppc block-device default to right $ARCH
* Update tracing in block_device_create_config_file
* Pad state dump
* Adjust package mapping for SUSE family
* Drop support for Ubuntu precise
* Adjust package installation for openSUSE
* Refactor mount-point sorting
* Remove dracut-network element
* Remove ccache
* Test openSUSE 42.2/42.3 image builds
* Add state object, rename "results", add unit tests
* allow uninstalls to fail on gentoo
* Refactor: use lazy logging
* drop deprecated map-services/packages from zypper element
* dhcp-all-interfaces.sh - Add support for InfiniBand interface DHCP
OBS-URL: https://build.opensuse.org/request/show/503358
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=18
- Version bump to 2.4.0
* Refactor: block-device filesystem creation, mount and fstab
* Take --params from environment
* Refactor documentation on image creation
* Add a test to validate we can build debian vms
* Introduce exec_sudo command
* Fix py3 error in block-device
* Refactor block-device base functions.
* Add bzip2 to test install
* Add refactor of tree-like vs graph
* Set LC_ALL in disk-image-create
* Improve documentation for image creation
* Refactor block_device: isolate the getval call
* Refactor block_device: passing command line parameters
* Make Gentoo package updates work more often
* Turn off strict_id mode for Ec2 datasource
* Clean out apt index caches at end of image build
OBS-URL: https://build.opensuse.org/request/show/495684
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=12
- Update to version 2.3.3
* Add yum-utils as EPEL dependency
* Skip python3-virtualenv on <= trusty
* pip-and-virtualenv : install python2 & 3, and default to 2
* Install pip with python interpreter
* Move do_extra_package_install to run in install phase
* Updated from global requirements
* Unify and fix doc of several Debian and Ubuntu elements
* Fix package-installs-v2 output
* Basic logging for package-installs-squash
* Use DIB_PYTHON_EXEC to run commands
* Fix typo in pip-and-virtualenv
* Ignore missing path in unmount_dir
* Run dib-run-parts out of /tmp
* Don't provide dib-run-parts
* Add flag to disable EPEL
* Fix code-block in README of rhel7 element
* Fix opensuse-minimal element on non-SUSE hosts
* Use stevedore for plugin config of block device
* Adding aarch64 support for CentOS7
* Have simple-init enable network.service
* Use correct Ubuntu distro url on non-x86 arches
* Typo fix: curent => current
* functests: skip qcow2 generically but add specific test
* Add default PPC block-device layout
* Capture output in _exec_sudo
* Fix typo in CMDLINE env var for bootloader
* Allow ELEMENTS_DIR to be configurable
* Use sphinx warning-is-error
* Updated from global requirements
OBS-URL: https://build.opensuse.org/request/show/491207
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=10
- Update to version 1.27.0
* Add DIB_IPA_COMPRESS_CMD option
* ironic-agent: use /sbin for modprobe
* move post-install.d to finalize.d
* Bump fedora release to 25
* Fix dhcp-all-interfaces for ubuntu-minimal xenial
* Don't set base element path in run_functests.sh
* Use %i instead of %I in dhcp-interface@.service
* Remove hardcoded components
* Set grub device in /etc/default/grub
* Replace yaml.load() with yaml.safe_load()
* Unify tidy up logs in lib/img-functions
* Also check bin/ for tabs
* Handle failure of carrier check in dhcp-all-interfaces.sh
* Make DHCP timeout configurable
* Run dhcp-interface@.service after network.target
* update pkg-map entries for python3
* dib-lint: python3 compatibility fixes
* debootstrap: avoid duplicate network configuration
* Remove yum chroot caching
* Speed up chroot checking loop
* Allow disto-specific mirror settings
* Update hpssacli to ssacli in proliant-tools element
OBS-URL: https://build.opensuse.org/request/show/458648
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=8
- Update to version 1.26.1
* Generate ssh-hostkeys on boot for ironic agent
* add option to configure cloud-init to allow password authentication
* elements: Drop unneeded DIB_INIT_SYSTEM usage
* Replace six.iteritems() with .items()
* Catch errors in DIB_INIT_SYSTEM export
* DIB element to support cinder local attach/detach functionality
* elements: Drop executable bits from environment files
* Update sysctl-write-value to do conflict checking
* Put MKFS_OPTS after filesystem type
* Make dib-python use the default python for distro
* Don't set the executable bit on dhcp-interface@.service
* Move pip-and-virtualenv source install to 10-
* Add install-types as pip-and-virtualenv dep
* Allow package-installs to parse DIB_PYTHON_VERSION
* Fix pip-and-virtualenv to work with python3
* elements: dib-python: Add python2 as the default version for openSUSE
* Support sysv init system used by Debian Wheezy
* Pip install as 10- incompatible with 05-heat-cfntools
* Recreate initramfs within loopback image
* Fix bootloader element on ppc
* Add ubuntu-precise support to dib-python
* FIx the DIB_CLOUD_INIT_ALLOW_SSH_PWAUTH variable name in README file
* Switch to openSUSE Leap 42.2 release by default
* Install dracut-generic-config package
* Add output image format tgz support
* Add squashfs output image format
* set default DIB_PYTHON_VERSION=2 for rhel7
* Set grub timeout default
* Dont run with VIRTUAL_ENV set
OBS-URL: https://build.opensuse.org/request/show/447425
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/diskimage-builder?expand=0&rev=6
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.