Create matchbox image flatcar linux and Redhat CoreOS automation
Matchbox seems to have become a standard for auto-provisioning Flatcar linux environments such as etcd, Lokomotiv Kubernetes and other environments on top of flatcar linux(CoreOS fork) and RedHat CoreOS.
It is built as a go binary that we could integrate into an LX Zone or maybe even a normal SmartOS zone.
https://github.com/poseidon/matchbox
https://matchbox.psdn.io
(Related to #504)
Not sure what you are trying to achieve. Do you want to create a VM image with the matchbox binary present? Or do you want to create some automation from it? In the first case, we can add it as a pkgsrc package. In the second case you need to describe your intentions a bit more.
I think first step would be for me to see if there is any issue to running matchbox inside of a solaris zone.
If not step one would be to add it to pkgsrc and create a base image that we can create.
I think the normal use case would then be using terraform:
- create new net
- deploy matchbox vm in the new network
- configure with terraform matchbox
- create new vms and have them configured automatically using matchbox(for example etcd, kubernetes etc...)
We can push the matchbox/ignition scripts using the metadata when creating a VM. The same process is currently used for cloud-init scripts.