Hi,
i have the pleasure to announce that saltstack-lxd-formula(1) went in
public beta.
Its a combination of 3 saltstack technologies:
- An execution Module "lxd"
- 4 States "lxd", "lxd_profile", "lxd_image and "lxd_container"
- The formula
About LXD(2):
LXD is a container "hypervisor" and a new user experience for LXC.
LXD allows you to create images, profiles and containers over a REST API.
Its biggest features are:
- Secure by design (unprivileged containers, resource restrictions and
much more)
- Scalable (from containers on your laptop to thousand of compute nodes)
- Intuitive (simple, clear API and crisp command line experience)
- Image based (no more distribution templates, only good, trusted images)
- Live migration
This is what salstack-lxd-formula allows you to do:
- Initialize LXD with storage, authentication and network settings.
- Create some default settings for containers (profiles).
- Pull an image from various sources.
- Create a container with an image.
- Start/Stop/Restart/Freeze/Unfreeze/Migrate a container.
- And finally undo all of the above.
I hope some people will test it and give feedback,
Thanks,
René Jochum aka pcdummy
1.)
https://github.com/pcdummy/saltstack-lxd-formula
2.)
https://linuxcontainers.org/lxd/
P.s.: This is the second mail as the first one when into another thread
as reply.