[lxc-devel] [PATCH] templates: abort if name is not specified

Ryota Ozaki ozaki.ryota at gmail.com
Mon Apr 1 04:41:03 UTC 2013


Hi Serge,

On Mon, Apr 1, 2013 at 12:32 PM, Serge Hallyn <serge.hallyn at ubuntu.com> wrote:
> Quoting Ryota Ozaki (ozaki.ryota at gmail.com):
>> Most scripts don't check if required parameter 'name' is
>> specified and proceed without it, which results in using an
>> unexpected directory /var/lib/lxc/ while we expect
>> to use /var/lib/lxc/NAME/.
>
> ISTM that check is present in lxc-create, so it shouldn't need to be
> specified in the templates.

Oh I see. So we shouldn't use the template scripts directly.

  ozaki-r




More information about the lxc-devel mailing list