Skip to content

Commit decb036

Browse files
committed
Test ubuntu image builds
1 parent 528d053 commit decb036

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/overcloud-host-image-build.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -98,15 +98,15 @@ jobs:
9898
run: |
9999
cat << EOF > terraform.tfvars
100100
ssh_public_key = "id_rsa.pub"
101-
ssh_username = "rocky"
101+
ssh_username = "ubuntu"
102102
aio_vm_name = "skc-host-image-builder"
103-
# Must be a Rocky Linux 9 host to successfully build all images
103+
# Must be an Ubuntu Jammy host to successfully build all images
104104
# This MUST NOT be an LVM image. It can cause confusing conficts with the built image.
105-
aio_vm_image = "Rocky-9-GenericCloud-Base-9.3-20231113.0.x86_64.qcow2"
105+
aio_vm_image = "Ubuntu-22.04"
106106
aio_vm_flavor = "en1.medium"
107107
aio_vm_network = "stackhpc-ci"
108108
aio_vm_subnet = "stackhpc-ci"
109-
aio_vm_interface = "eth0"
109+
aio_vm_interface = "ens3"
110110
EOF
111111
working-directory: ${{ github.workspace }}/src/kayobe-config/terraform/aio
112112

@@ -184,14 +184,14 @@ jobs:
184184
run: |
185185
source venvs/kayobe/bin/activate &&
186186
source src/kayobe-config/kayobe-env --environment ci-builder &&
187-
kayobe seed host configure -e seed_bootstrap_user=rocky --skip-tags network
187+
kayobe seed host configure -e seed_bootstrap_user=ubuntu --skip-tags network
188188
189189
- name: Install dependencies
190190
run: |
191191
source venvs/kayobe/bin/activate &&
192192
source src/kayobe-config/kayobe-env --environment ci-builder &&
193193
kayobe seed host command run \
194-
--command "sudo dnf config-manager --set-enabled crb && sudo dnf -y install epel-release && sudo dnf -y install cloud-init debootstrap git kpartx zstd" --show-output
194+
--command "sudo apt update && sudo apt -y install gcc git libffi-dev python3-dev python-is-python3 python3-venv" --show-output
195195
env:
196196
KAYOBE_VAULT_PASSWORD: ${{ secrets.KAYOBE_VAULT_PASSWORD }}
197197

0 commit comments

Comments
 (0)