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: |
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
gettext \
|
||||
genisoimage
|
||||
|
||||
envsubst < cloud-init/user-data.template > cloud-init/user-data
|
||||
@ -80,9 +81,17 @@ jobs:
|
||||
fi
|
||||
- name: Create empty QCOW2 disk
|
||||
run: |
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
qemu-utils
|
||||
|
||||
qemu-img create -f qcow2 ubuntu-vm/ubuntu.qcow2 10G
|
||||
- name: Run virt-install
|
||||
run: |
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
virtinst
|
||||
|
||||
virt-install \
|
||||
--name ubuntu-harvester \
|
||||
--ram 2048 \
|
||||
|
Reference in New Issue
Block a user