mirror of
https://github.com/outbackdingo/incus-os.git
synced 2026-01-27 10:19:24 +00:00
Don't need to truncate install images anymore
Signed-off-by: Mathias Gibbens <mathias.gibbens@futurfusion.io>
This commit is contained in:
1
Makefile
1
Makefile
@@ -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 \
|
||||
|
||||
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user