Comment 1 for bug 1031043

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Note that "lxc-create -t ubuntu -h" would give the ubuntu template help output and not leave a partially created container.

Because of the architecture of the lxc templates, there doesn't seem to be a simple, clean way of having the lxc-create script clean up after the ubuntu template was called with -h or --help. Two options are (1) have lxc-create look for -h or --help in the template arguments, or (2) have the ubuntu template return 1 (error) after --help.

I will take the first approach.