chore: Add libguestfs related dependencies
Some checks failed
build-image / Build image (push) Failing after 45s
Some checks failed
build-image / Build image (push) Failing after 45s
This commit is contained in:
@ -82,9 +82,11 @@ jobs:
|
||||
run: |
|
||||
apt-get update && \
|
||||
apt-get install -y \
|
||||
libguestfs \
|
||||
libguestfs-tools \
|
||||
qemu-system-x86 \
|
||||
qemu-utils
|
||||
qemu-utils \
|
||||
supermin
|
||||
|
||||
qemu-img resize ubuntu-vm/ubuntu.img +5G
|
||||
|
||||
@ -101,7 +103,8 @@ jobs:
|
||||
-net nic \
|
||||
-net user
|
||||
|
||||
virt-ls -a ubuntu-vm/ubuntu.img /var/lib/cloud-init/ | grep -q template-generation-success
|
||||
LIBGUESTFS_BACKEND=direct virt-ls -a ubuntu-vm/ubuntu.img /var/lib/cloud-init/ | \
|
||||
grep -q template-generation-success
|
||||
|
||||
# semrel:
|
||||
# name: Semantic Release
|
||||
|
@ -18,7 +18,7 @@ runcmd:
|
||||
- truncate -s 0 /etc/hostname /etc/machine-id
|
||||
- rm -f /etc/ssh/ssh_host_* /var/lib/dbus/machine-id
|
||||
- ln -s /etc/machine-id /var/lib/dbus/machine-id
|
||||
- touch /var/lib/cloud-init/template-generation-success
|
||||
- touch /var/log/template-generation-success
|
||||
|
||||
disable_root: false
|
||||
users:
|
||||
|
Reference in New Issue
Block a user