cirruslabs / tart

macOS and Linux VMs on Apple Silicon to use in CI and other automations
https://tart.run
Other
3.8k stars 112 forks source link

Cloud-Init support? #725

Closed praveenperera closed 8 months ago

praveenperera commented 8 months ago

I'd like to make a feature request to support cloud-init. That would let me develop locally and make the transition to production on cloud VMs very smooth.

edigaryev commented 8 months ago

Hello Praveen,

You can already use cloud-init by mounting a NoCloud-compliant disk image using tart run --disk

We use this method to create Linux images for Tart and Vetu.

fkorotkov commented 8 months ago

And here is how you generate the disk:

https://github.com/cirruslabs/linux-image-templates/blob/1b488639daa9dbe671add2bca0306e287f99d9a2/.cirrus.yml#L60-L63

praveenperera commented 8 months ago

Thank you!