[Feature]: Add an easier way to run preinstalled images.
Closed this issue ยท 5 comments
Is there no existing feature request for this?
- I have searched the existing feature requests
Is your proposal related to a problem?
I found existing issues #347, #458 but I think this use case is slightly different.
Some systems ship as a preinstalled qcow2 image (for example home assistant, https://www.home-assistant.io/installation/linux)
In such case it's needed to mount the provided file as data.qcow2, instead of installing an iso. However, the script seems to always expect the boot env var to be set, or an installer image to exist.
Describe the solution you'd like.
Maybe the BOOT variable could recognise a special keyword, like skip
, preinstalled
, that would skip adding the CDROM, and trying to download an image?
Or it could maybe be a new variable, like PREINSTALLED|INSTALLED=y
?
Describe alternatives you've considered.
Creating a dummy boot.img|iso file in /storage, seems to be working as a workaround.
Additional context
Thank you for this project, it's very useful :)
Good suggestion! I created a new version (v5.07) where you can leave BOOT
empty now (as long as a disk image already exists in /storage
)
Please try it out and let me know if it works!
Works great, thank you!
In the next version I will also add that if the URL in BOOT
ends with .qcow2 it will automaticly save the file as data.qcow2
instead of boot.iso
. That way you will not have to copy/rename the file manually.