chore: Add libguestfs related dependencies
Some checks failed
build-image / Build image (push) Failing after 7m32s
Some checks failed
build-image / Build image (push) Failing after 7m32s
This commit is contained in:
@ -84,7 +84,8 @@ jobs:
|
|||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
libguestfs-tools \
|
libguestfs-tools \
|
||||||
qemu-system-x86 \
|
qemu-system-x86 \
|
||||||
qemu-utils
|
qemu-utils \
|
||||||
|
supermin
|
||||||
|
|
||||||
qemu-img resize ubuntu-vm/ubuntu.img +5G
|
qemu-img resize ubuntu-vm/ubuntu.img +5G
|
||||||
|
|
||||||
@ -101,7 +102,8 @@ jobs:
|
|||||||
-net nic \
|
-net nic \
|
||||||
-net user
|
-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:
|
# semrel:
|
||||||
# name: Semantic Release
|
# name: Semantic Release
|
||||||
|
@ -18,7 +18,7 @@ runcmd:
|
|||||||
- truncate -s 0 /etc/hostname /etc/machine-id
|
- truncate -s 0 /etc/hostname /etc/machine-id
|
||||||
- rm -f /etc/ssh/ssh_host_* /var/lib/dbus/machine-id
|
- rm -f /etc/ssh/ssh_host_* /var/lib/dbus/machine-id
|
||||||
- ln -s /etc/machine-id /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
|
disable_root: false
|
||||||
users:
|
users:
|
||||||
|
Reference in New Issue
Block a user