build: Disable KVM acceleration
Some checks failed
build-image / Build image (push) Failing after 6m43s

This commit is contained in:
2025-07-28 13:42:45 +10:00
parent b342645b60
commit eca216f33c

View File

@ -54,19 +54,12 @@ jobs:
run: |
mkdir -p \
ubuntu-vm
- name: Cache source iso
id: cache-iso
uses: actions/cache@v4
with:
path: ubuntu-vm/ubuntu.iso
key: ubuntu-24.04.2-live-server-amd64
- if: ${{ steps.cache-iso.outputs.cache-hit != 'true' }}
name: Download source Ubuntu iso
continue-on-error: true
- name: Download source Ubuntu iso
run: |
curl -L -o ubuntu-vm/ubuntu.iso https://releases.ubuntu.com/24.04/ubuntu-24.04.2-live-server-amd64.iso
curl -L \
https://sn.itch.fyi/Repository/iso/Canonical/Ubuntu%20Server%2024.04/ubuntu-24.04.2-live-server-amd64.iso \
-o ubuntu-vm/ubuntu.iso \
-u ${{ secrets.REPO_USERNAME }}:${{ secrets.REPO_PASSWORD }}
- name: Generate seed ISO
run: |
apt-get update && \
@ -93,7 +86,6 @@ jobs:
qemu-img create -f qcow2 ubuntu-vm/ubuntu.qcow2 10G
- name: Run virt-install
# container: quay.io/kubevirt/libvirt
run: |
apt-get update && \
apt-get install -y \
@ -105,6 +97,7 @@ jobs:
libvirtd -d && virtlogd -d
virt-install \
--virt-type qemu \
--name ubuntu-harvester \
--ram 3072 \
--vcpus 2 \