canonical / multipass

Multipass orchestrates virtual Ubuntu instances
https://multipass.run
GNU General Public License v3.0
7.77k stars 642 forks source link

Support for Talos Linux #3227

Open devantler opened 1 year ago

devantler commented 1 year ago

What are you trying to do?

It would be nice if a Talos Linux image could be supported. This seems like a really nice fit for Multipass.

What's your proposed solution?

A talos image should be distributed through the official channels, such that it can be found and installed as such:

multipass launch talos

georgeliao commented 1 year ago

Hi @devantler , thanks for the suggestion. For now, Multipass only supports ubuntu distro in the image vault. However, there is a plan for the future to support other distros like talos.

devantler commented 1 year ago

Awesome to hear! Looking forward to that.

liquidsaul commented 1 year ago

Was just looking into this as well! Would be nice to have.

georgeliao commented 1 year ago

Guys, with further investigation, there are some updates on this topic. In the future, Multipas will support other Linux distros. However, the prerequisite is that the Linux distro has to support "cloud-init". Unfortunately, that is not the case with Talos linux, it uses MachineConfig which provides a similar function to "cloud-init". That is the situation for now and Talos might evolve in the future hopefully.

devantler commented 1 year ago

I am unfamiliar with the cloud-init technology and the inner workings of multipass, but I noticed this bit in the Talos docs today, mentioning cloud-init a few times. It seems it requires the machine config generated by the Talos CLI to bootstrap the cloud-init iso image. I initially fell over a release stating that Talos has generic cloud-init support. I might be lacking some knowledge here, but why can multipass not support this in its current state?

townsend2010 commented 1 year ago

Since it does seem Talos Linux does have cloud-init support, this may be one we consider if/when we start to support other distributions.

teaglebuilt commented 6 months ago

are we talking about just creating a blueprint?