Don't need to truncate install images anymore

Signed-off-by: Mathias Gibbens <mathias.gibbens@futurfusion.io>
This commit is contained in:
Mathias Gibbens
2025-05-01 16:10:25 -06:00
parent 62b05eecea
commit 3d2d059fc3
2 changed files with 0 additions and 2 deletions

View File

@@ -56,7 +56,6 @@ test:
# Prepare the install media
cp $(shell ls mkosi.output/IncusOS_*.raw | grep -v usr | grep -v esp | sort | tail -1) mkosi.output/IncusOS_boot_media.img
dd if=test/seed.install.tar of=mkosi.output/IncusOS_boot_media.img seek=4196352 bs=512 conv=notrunc
truncate --size=50GiB mkosi.output/IncusOS_boot_media.img
# Create the VM
incus init --empty --vm test-incus-os \

View File

@@ -24,7 +24,6 @@ curl -sL "https://github.com/lxc/incus-os/releases/download/${1}/IncusOS_${1}.ra
# Add seed data
echo "=> Injecting seed data"
dd status=none if=test/seed.install.tar of=.incus-os.img seek=4196352 bs=512 conv=notrunc
truncate --size=50GiB .incus-os.img
# Create an instance
echo "=> Creating an Incus OS instance"