Git Product home page Git Product logo

Comments (7)

anmazzotti avatar anmazzotti commented on September 18, 2024

Would it make sense to have a build-raw action in the elemental cli?
This should be parallel to build-iso and we could have the raw image served as we currently serve the iso.

It's also important I think that we do exploit the elemental-register --install argument (instead of --reset), so that when we implement installation status tracking, this will be consistent with iso installs.

from elemental.

kkaempf avatar kkaempf commented on September 18, 2024

Yes, something like build-raw (which would probably share a lot with build-iso) would be ok.

However, we already have (too?) many build steps hardcoded in elemental-cli. And I wonder how to make them more flexible.

Maybe we could start with a post-build implementation, similar to generate-rpi-image 🤔

from elemental.

anmazzotti avatar anmazzotti commented on September 18, 2024

The benefit of using the elemental-cli is that we can keep the workflow parallel to the iso.
That will also include image channels I guess.

So from the user point of view everything will be the same, they will just be able to download an .iso or a .raw(?) image from the seedimage pod. We should also inject the machine registration config as we do with the iso, so that there is no further action needed. Just dd the image into a disk, boot the machine, and you are done.

It is a lot of changes though. The biggest problem is that I don't think we have an architecture level for the images. Ideally as a user I would like to set the architecture on the MachineRegistration.
This should lead to the generation of either amd64 or aarch64 ISOs, depending on what I configured.

I think that we could start by officially supporting the aarch64 ISO before we implement this issue.

Edit: Nevermind the multi-arch support on MachineRegistration, I forgot Cluster is not registration bound, so it's fine to have one registration per architecture.

from elemental.

kkaempf avatar kkaempf commented on September 18, 2024

I think that we could start by officially supporting the aarch64 ISO before we implement this issue.

This is actually just waiting for a respective ARM board (Raspberry cannot boot from ISO - and that's the only ARM board we have available 🤷🏻 )

from elemental.

anmazzotti avatar anmazzotti commented on September 18, 2024

Yeah I guess it will be mostly useless, but at least we can use it for modeling the architecture on the MachineRegistration, otherwise arm artifacts will always be external and will always have a different workflow.

For testing I guess we could just use QEMU.

from elemental.

anmazzotti avatar anmazzotti commented on September 18, 2024

For comparison, you can see that SLE Micro does ship .iso for arm
https://www.suse.com/download/sle-micro/

So maybe there is a use case out there.

If we model the architecture it should be easy to add more in the future and keep everything consistent.
I would love to see Elemental on mainframes.

from elemental.

anmazzotti avatar anmazzotti commented on September 18, 2024

As we discussed, I created #948 so that we can first model and implement multi-arch support on the operator/seedimage-builder side.

from elemental.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.