-
Notifications
You must be signed in to change notification settings - Fork 174
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
OpenWRT VM images #892
Comments
I was tried to lunch an
This issue displays at least 2 problems:
|
The only hard dependency for the agent is |
Thank you Stephane for the confirmation! I looked through the code and see how does it check already loaded modules. Happy New Year! |
Looking through the |
It's not something we're interested in attending, no. The incus-agent is designed for high throughput parallel network transfers, it exposes a full REST API over HTTPS to the host system. Trying to carry all of that onto a single serial connection wouldn't be pleasant. |
Understood. |
One more question, Stephane. Is it possible to use custom local rootfs tar file or directory structure to build image using the |
|
Linux containers Image server distributes OpenWRT containers-only images, which is suitable for multiple use cases. However, containers are unsuitable for some cases, especially when specific devices and kernel modules are required. The VM is a good solution as OpenWRT resources requirements are low. For example, a customer needs internet access via a mobile network solution running in the Incus environment in ARM-bases SBC. So OpenWRT container could not be used for him as container can't handle kernel modules and devices for mobile modem.
I was able to build an OpenWRT VM (aarch64) image for him using the LXC/Incus distrobuilder with some caveats:
What needs to be done to build OpenWRT VM image:
One more caveats is OpenWRT VM unable to give access to boot console. The command "incus start owrt-vm --console" displays the error "Error: Failed to swap console ring buffer with socket: Chardev user does not support chardev hotswap" instead of console access.
The text was updated successfully, but these errors were encountered: