build: Disable KVM acceleration
Some checks failed
build-image / Build image (push) Failing after 6m43s
Some checks failed
build-image / Build image (push) Failing after 6m43s
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 \
|
||||||
@ -105,6 +97,7 @@ jobs:
|
|||||||
libvirtd -d && virtlogd -d
|
libvirtd -d && virtlogd -d
|
||||||
|
|
||||||
virt-install \
|
virt-install \
|
||||||
|
--virt-type qemu \
|
||||||
--name ubuntu-harvester \
|
--name ubuntu-harvester \
|
||||||
--ram 3072 \
|
--ram 3072 \
|
||||||
--vcpus 2 \
|
--vcpus 2 \
|
||||||
|
Reference in New Issue
Block a user