[lxc-devel] [PATCH 2/4] lxc-archlinux: Don't hardcode /var/lib/lxc in help

Stéphane Graber stgraber at ubuntu.com
Thu Dec 6 14:41:01 UTC 2012


On 12/06/2012 12:07 AM, Serge Hallyn wrote:
> Quoting Stéphane Graber (stgraber at ubuntu.com):
>> Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
>> ---
>>  templates/lxc-archlinux.in | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/templates/lxc-archlinux.in b/templates/lxc-archlinux.in
>> index 5db5b85..cf274d4 100644
>> --- a/templates/lxc-archlinux.in
>> +++ b/templates/lxc-archlinux.in
>> @@ -375,7 +375,7 @@ usage:
>>  Mandatory args:
>>    -n,--name         container name, used to as an identifier for that container from now on
>>  Optional args:
>> -  -p,--path         path to where the container rootfs will be created, defaults to /var/lib/lxc. The container config will go under /var/lib/lxc in that case
>> +  -p,--path         path to where the container rootfs will be created, defaults to $default_path. The container config will go under $default_path in that case
> 
> ok but default_path is hardcoded to /var/lib/lxc ?  (At least in the tree
> I have here)

It's set to @LXCPATH@ in staging.

> Still, of course
> 
> Acked-by: Serge E. Hallyn <serge.hallyn at ubuntu.com>

Thanks, pushed.

> since at least now it can be 'fixed' in one place.
> 
>>    -P,--packages     preinstall additional packages, comma-separated list
>>    -h,--help         print this help
>>  EOF
>> -- 
>> 1.8.0
>>
>>
>> ------------------------------------------------------------------------------
>> LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
>> Remotely access PCs and mobile devices and provide instant support
>> Improve your efficiency, and focus on delivering more value-add services
>> Discover what IT Professionals Know. Rescue delivers
>> http://p.sf.net/sfu/logmein_12329d2d
>> _______________________________________________
>> Lxc-devel mailing list
>> Lxc-devel at lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/lxc-devel


-- 
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: 899 bytes
Desc: OpenPGP digital signature
URL: <http://lists.linuxcontainers.org/pipermail/lxc-devel/attachments/20121206/1919396a/attachment.pgp>


More information about the lxc-devel mailing list