[Lxc-users] lxcpath
Papp Tamas
tompos at martos.bme.hu
Mon Mar 4 18:24:52 UTC 2013
On 03/04/2013 03:34 PM, Stéphane Graber wrote:
>
>
> The change proposed above wouldn't work for cases where you create the
> container config in /var/lib/lxc/<container> but don't store the rootfs
> there. For example when using lvm-backed containers.
>
> In such case, a second call to lxc-create would completely destroy the
> config of the existing container...
>
>
> I guess we could do 'if [ -f "$lxc_path/$lxc_name/config" ]' instead,
> which should work fine for any lxc-create generated container.
Right.
tamas
More information about the lxc-users
mailing list