Open suntong opened 4 years ago
FTR, getting inspiration from https://github.com/bdrung/bdebstrap might be interesting, if we should really rewrite grml-debootstrap
Ahh, I like every concept of it, just, Python, hmm..., that's ... quite a pity.
Found another YAML based Debian OS builder, but this one is in Go. People might already knew it, but I only know it today, :)
For Python based solution, I'd rather choose cloud-init: cloud instance initialization, the industry standard multi-distribution method for cross-platform cloud instance initialization.
It is supported across all major public cloud providers, provisioning systems for private cloud infrastructure, and bare-metal installations.
Separate from here
As
grml-debootstrap
getting more and more complicated, it make sense to bit the bullet and re-write it in Golang at some point, just as what Docker has been doing.Go is a simple language which can be taken on within no time, if you are a C/C++ developer. I looked into it more than 10 years ago, when I heard that Docker turn their spaghetti shell script into Go, which was the problem I was facing then as well.
The plan is confirmed by @mika:
Thus log a separate issue, and when it's about ready, drop me a note, I'd be more than happy to help on the command line parameters handling part. And in fact, also the whole CI/CD part, including building your own (quick) Debian package during CI/CD.