diff --git a/doc/source/contributor/automated.rst b/doc/source/contributor/automated.rst
index cc7c61ab639f111481c4dcd39c9104e6aaa2908a..8e71d1cf783f2759d67739bdb984f7b0663f379d 100644
--- a/doc/source/contributor/automated.rst
+++ b/doc/source/contributor/automated.rst
@@ -131,6 +131,11 @@ For a control plane with Ironic enabled, a "bare metal" instance can be
 deployed. We can use the `Tenks <https://tenks.readthedocs.io/en/latest/>`__
 project to create fake bare metal nodes.
 
+On Ubuntu, the ``nova_libvirt`` image does not contain the ``qemu-utils``
+package necessary for image operations used by Tenks. Install it as follows::
+
+    sudo docker exec -u root nova_libvirt bash -c 'apt update && apt -y install qemu-utils'
+
 Clone the tenks repository::
 
     git clone https://opendev.org/openstack/tenks.git
@@ -155,11 +160,6 @@ services::
 
     ./dev/configure-firewall.sh
 
-On Ubuntu, the ``nova_libvirt`` image does not contain the ``qemu-utils``
-package necessary for image operations used by Tenks. Install it as follows::
-
-    sudo docker exec -u root nova_libvirt bash -c 'apt update && apt -y install qemu-utils'
-
 We are now ready to run the ``dev/overcloud-test-baremetal.sh`` script. This
 will run the ``init-runonce`` setup script provided by Kolla Ansible that
 registers images, networks, flavors etc. It will then deploy a bare metal