Closed meteyou closed 1 year ago
Thanks!
Got this idea: https://armbian.atlassian.net/browse/AR-1459
sounds like a great idea. is it also possible to generate an image which can be used in a VM? or would this prebuild image only run on SBCs?
is it also possible to generate an image which can be used in a VM?
This is all you need to do to run KVM VM on Linux machine (after installing dependencies ofc, network config might differ):
wget -q -O - "https://redirect.armbian.com/region/EU/uefi-x86/Jammy_current" | xz -d > image.iso
sudo qemu-img convert -f raw -O qcow2 image.iso /var/lib/libvirt/images/image.qcow2
sudo qemu-img resize /var/lib/libvirt/images/image.qcow2 +10G
virt-install --name Armbian --memory 2048 --vcpus 4 --disk /var/lib/libvirt/images/image.qcow2,bus=sata --import --os-variant ubuntu22.04 --network bridge=br1 --noautoconsole
For SBCs, this is a bit more problematic as we need to have a dedicated image for each device, but we could cover generic arm64 (Can be run on Apple M1 / M2 virtualized) / generic x86 within same task.
sounds like a great idea
I would already do it, but am so far behind with a lot more critical things ...
Its also a great simple problem for someone to practice GitHub Actions. And there are a lot of examples to follow. https://github.com/armbian/build/tree/master/.github/workflows https://github.com/armbian/scripts/tree/master/.github/workflows
This PR fix the download link of the ubuntu server image.
Signed-off-by: Stefan Dej meteyou@gmail.com