build: Disable KVM acceleration
Some checks failed
build-image / Build image (push) Failing after 6m2s
Some checks failed
build-image / Build image (push) Failing after 6m2s
This commit is contained in:
@ -54,19 +54,12 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
mkdir -p \
|
mkdir -p \
|
||||||
ubuntu-vm
|
ubuntu-vm
|
||||||
- name: Cache source iso
|
- name: Download source Ubuntu 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
|
|
||||||
run: |
|
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
|
- name: Generate seed ISO
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
@ -93,7 +86,6 @@ jobs:
|
|||||||
|
|
||||||
qemu-img create -f qcow2 ubuntu-vm/ubuntu.qcow2 10G
|
qemu-img create -f qcow2 ubuntu-vm/ubuntu.qcow2 10G
|
||||||
- name: Run virt-install
|
- name: Run virt-install
|
||||||
# container: quay.io/kubevirt/libvirt
|
|
||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
@ -115,6 +107,7 @@ jobs:
|
|||||||
--graphics none \
|
--graphics none \
|
||||||
--network network=default \
|
--network network=default \
|
||||||
--noautoconsole \
|
--noautoconsole \
|
||||||
|
--cpu qemu64 \
|
||||||
--wait -1
|
--wait -1
|
||||||
|
|
||||||
# semrel:
|
# semrel:
|
||||||
|
Reference in New Issue
Block a user