[lxc-devel] free/unfreeze support in lxc command

Hiroaki Nakamura hnakamur at gmail.com
Wed May 18 22:33:53 UTC 2016


Hi,

I am creating the lxd_container module for Ansible.
https://github.com/ansible/ansible-modules-extras/pull/2208#issuecomment-220122327

And I'm wondering I use the pylxd module or the lxc command.
Actually I created the both version.

A. An implementation using the pylxd module.
https://github.com/hnakamur/ansible-modules-extras/blob/lxd_container/cloud/lxd/lxd_container.py

B. An implementation using the lxc command.
https://github.com/ansible/ansible-modules-extras/pull/2208#issuecomment-219968885

I think I prefer B because it's simpler for common cases like
launching a container
using a remote standard image.

However I could not found the way to freeze/unfreeze a container using
the lxc command.
Is there a way to freeze/unfreeze using the lxc command?
If not, could you tell me why?
Is the frozen state deprecated?

Regards,
Hiroaki


More information about the lxc-devel mailing list