[lxc-devel] [PATCH 1/4] support alternate container path in lxc-shutdown

Harald Dunkel harald.dunkel at aixigo.de
Fri May 3 14:28:40 UTC 2013


Hi Serge,

On 05/03/13 14:16, Serge Hallyn wrote:
> Quoting Harald Dunkel (harald.dunkel at aixigo.de):
>> ---
>>  src/lxc/lxc-shutdown.in | 23 +++++++++++++++++++----
>>  1 file changed, 19 insertions(+), 4 deletions(-)
>>
>> diff --git a/src/lxc/lxc-shutdown.in b/src/lxc/lxc-shutdown.in
>> index ee07f75..247e90b 100644
>> --- a/src/lxc/lxc-shutdown.in
>> +++ b/src/lxc/lxc-shutdown.in
>> @@ -18,13 +18,17 @@
>>  
>>  set -e
>>  
>> +lxcpath=/var/lib/lxc
>> +test ! -f /etc/lxc/lxc.conf || . /etc/lxc/lxc.conf
> 
> Other scripts do this using:
> 
> . @DATADIR@/lxc/lxc.functions
> 

Sorry, I have missed that for lxc-shutdown.

> Otherwise looks good, thanks.  (Please let me know if you'd like to
> resend or have me change it in-line)
> 

Probably its the most easiest way to change it in-line.
Or do you prefer to get the patches with the Signed-off-by
added?


Regards
Harri





More information about the lxc-devel mailing list