diff --git a/.zuul.d/jobs.yaml b/.zuul.d/jobs.yaml index f64280f9..d73765c0 100644 --- a/.zuul.d/jobs.yaml +++ b/.zuul.d/jobs.yaml @@ -152,6 +152,23 @@ # back for now. nodeset: ubuntu-focal +- job: + name: dib-nodepool-functional-openstack-rockylinux-9-containerfile-src + description: | + Test building and booting a Rocky Linux image from a + containerfile with Nodepool and OpenStack (using released + libraries) + parent: dib-nodepool-functional-src-base + vars: + nodepool_debug: true + nodepool_diskimage: + base_element: rocky-container + release: '9' + # NOTE(ianw) 2022-07-11 : something in jammy has broken running + # podman inside docker. Investigations continue, but force this + # back for now. + nodeset: ubuntu-focal + - job: name: dib-nodepool-functional-openstack-ubuntu-xenial-src description: | diff --git a/.zuul.d/project.yaml b/.zuul.d/project.yaml index 9a7a579a..0798509a 100644 --- a/.zuul.d/project.yaml +++ b/.zuul.d/project.yaml @@ -31,6 +31,8 @@ - dib-nodepool-functional-openstack-fedora-36-containerfile-src - dib-nodepool-functional-openstack-rockylinux-8-containerfile-src: voting: false + - dib-nodepool-functional-openstack-rockylinux-9-containerfile-src: + voting: false - dib-nodepool-functional-openstack-ubuntu-xenial-src - dib-nodepool-functional-openstack-ubuntu-bionic-src - dib-nodepool-functional-openstack-ubuntu-focal-src diff --git a/diskimage_builder/elements/rocky-container/containerfiles/9 b/diskimage_builder/elements/rocky-container/containerfiles/9 new file mode 100644 index 00000000..f3b186aa --- /dev/null +++ b/diskimage_builder/elements/rocky-container/containerfiles/9 @@ -0,0 +1,13 @@ +FROM docker.io/rockylinux/rockylinux:9 + +RUN dnf install -y findutils util-linux sudo python3 NetworkManager + +RUN systemctl unmask console-getty.service dev-hugepages.mount \ + getty.target sys-fs-fuse-connections.mount systemd-logind.service \ + systemd-remount-fs.service + +# NOTE(neilhanlon) 2022-08-02 +# Unlike with the RL8 image, there does not appear to be a requirement to +# populate /etc/machine-id in order for /bin/kernel-install to correctly copy +# kernels into /boot. As a result, we will not run the machine setup +# systemd-machine-id-setup script diff --git a/diskimage_builder/elements/rocky-container/environment.d/10-01-rocky-distro-name.bash b/diskimage_builder/elements/rocky-container/environment.d/10-01-rocky-distro-name.bash index 61120156..e87457d9 100644 --- a/diskimage_builder/elements/rocky-container/environment.d/10-01-rocky-distro-name.bash +++ b/diskimage_builder/elements/rocky-container/environment.d/10-01-rocky-distro-name.bash @@ -1,4 +1,4 @@ export DISTRO_NAME=rocky -export DIB_RELEASE=${DIB_RELEASE:-8} # always the most recent major +export DIB_RELEASE=${DIB_RELEASE:-9} # always the most recent major export EFI_BOOT_DIR="EFI/rocky" export DIB_YUM_MINIMAL_CREATE_INTERFACES=0