chore: Add libguestfs related dependencies
Some checks failed
build-image / Build image (push) Failing after 7m37s
Some checks failed
build-image / Build image (push) Failing after 7m37s
This commit is contained in:
@ -78,13 +78,14 @@ jobs:
|
||||
env:
|
||||
ROOT_HASHED_PASSWORD: ${{ secrets.ROOT_HASHED_PASSWORD }}
|
||||
PUBLIC_SSHKEY: ${{ secrets.PUBLIC_SSHKEY }}
|
||||
- name: Start virtual machine
|
||||
- name: Provision template virtual machine
|
||||
run: |
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
libguestfs-tools \
|
||||
qemu-system-x86 \
|
||||
qemu-utils
|
||||
qemu-utils \
|
||||
supermin
|
||||
|
||||
qemu-img resize ubuntu-vm/ubuntu.img +5G
|
||||
|
||||
@ -101,7 +102,8 @@ jobs:
|
||||
-net nic \
|
||||
-net user
|
||||
|
||||
virt-ls -a ubuntu-vm/ubuntu.img /var/lib/cloud-init/ | grep -q template-generation-success
|
||||
LIBGUESTFS_DEBUG=1 LIBGUESTFS_TRACE=1 LIBGUESTFS_BACKEND=direct virt-ls -a ubuntu-vm/ubuntu.img /var/lib/cloud-init/ | \
|
||||
grep -q template-generation-success
|
||||
|
||||
# semrel:
|
||||
# name: Semantic Release
|
||||
|
Reference in New Issue
Block a user