[lxc-devel] Please make "-f" mandatory in lxc-create

Stéphane Graber stgraber at ubuntu.com
Mon May 28 22:06:40 UTC 2012


On 05/28/2012 06:02 PM, richard -rw- weinberger wrote:
> Hi!
> 
> Is there any use case where a user wants to omit "-f"?
> Yesterday I've wasted a few hours with finding out why LXC set up a
> broken container.
> Then I found out that I've created it using "lxc-create -n foo
> foo.cfg" instead of "lxc-create -n foo -f foo.cfg".

At least in Ubuntu -f isn't mandatory because calling lxc-create without
it will simply default to a system wide configuration in /etc/lxc/lxc.conf.

-- 
Stéphane Graber
Ubuntu developer
http://www.ubuntu.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 900 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20120528/c536c89f/attachment.pgp>


More information about the lxc-devel mailing list