build: (Temporarily) Install prerequisite binaries within respective steps
Some checks failed
build-image / Build image (push) Failing after 16m8s
Some checks failed
build-image / Build image (push) Failing after 16m8s
This commit is contained in:
@ -58,6 +58,7 @@ jobs:
|
|||||||
run: |
|
run: |
|
||||||
apt-get update && \
|
apt-get update && \
|
||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
|
gettext \
|
||||||
genisoimage
|
genisoimage
|
||||||
|
|
||||||
envsubst < cloud-init/user-data.template > cloud-init/user-data
|
envsubst < cloud-init/user-data.template > cloud-init/user-data
|
||||||
@ -80,9 +81,17 @@ jobs:
|
|||||||
fi
|
fi
|
||||||
- name: Create empty QCOW2 disk
|
- name: Create empty QCOW2 disk
|
||||||
run: |
|
run: |
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y \
|
||||||
|
qemu-utils
|
||||||
|
|
||||||
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
|
||||||
run: |
|
run: |
|
||||||
|
apt-get update && \
|
||||||
|
apt-get install -y \
|
||||||
|
virtinst
|
||||||
|
|
||||||
virt-install \
|
virt-install \
|
||||||
--name ubuntu-harvester \
|
--name ubuntu-harvester \
|
||||||
--ram 2048 \
|
--ram 2048 \
|
||||||
|
Reference in New Issue
Block a user