Re: [lxc-users] LXC auto start not working

2014-06-09 Thread Stéphane Graber
On Mon, Jun 09, 2014 at 10:07:05AM -0400, Shidan wrote: I now am trying to get an unprivilaged container to auto-start, I put the following in ~/.config/lxc/default.conf: lxc.start.auto = 1 lxc.start.delay = 5 I also tried putting it in the main /etc/lxc/default.conf file. For both

Re: [lxc-users] LXC auto start not working

2014-06-09 Thread Michael H. Warfield
Stéphane, On Mon, 2014-06-09 at 10:12 -0400, Stéphane Graber wrote: On Mon, Jun 09, 2014 at 10:07:05AM -0400, Shidan wrote: I now am trying to get an unprivilaged container to auto-start, I put the following in ~/.config/lxc/default.conf: lxc.start.auto = 1 lxc.start.delay = 5

Re: [lxc-users] LXC auto start not working

2014-06-09 Thread Shidan
I tried it both in the individual configuration files and the main one. I actually can't get lxc-autostart to work even in a session as the user that owns the container right now and lxc-ls is not recognizing the options in the config file. On Mon, Jun 9, 2014 at 10:36 AM, Michael H. Warfield

Re: [lxc-users] LXC auto start not working

2014-06-09 Thread Stéphane Graber
On Mon, Jun 09, 2014 at 10:36:57AM -0400, Michael H. Warfield wrote: Stéphane, On Mon, 2014-06-09 at 10:12 -0400, Stéphane Graber wrote: On Mon, Jun 09, 2014 at 10:07:05AM -0400, Shidan wrote: I now am trying to get an unprivilaged container to auto-start, I put the following in

Re: [lxc-users] LXC auto start not working

2014-06-09 Thread Michael H. Warfield
On Mon, 2014-06-09 at 10:46 -0400, Shidan wrote: I tried it both in the individual configuration files and the main one. I actually can't get lxc-autostart to work even in a session as the user that owns the container right now and lxc-ls is not recognizing the options in the config file.

Re: [lxc-users] LXC auto start not working

2014-06-09 Thread Stéphane Graber
On Mon, Jun 09, 2014 at 10:57:13AM -0400, Michael H. Warfield wrote: On Mon, 2014-06-09 at 10:46 -0400, Shidan wrote: I tried it both in the individual configuration files and the main one. I actually can't get lxc-autostart to work even in a session as the user that owns the container

Re: [lxc-users] LXC auto start not working

2014-06-09 Thread Shidan
BTW, I'm trying this in ubuntu 14.04. This is my lxc-ls output after running lxc-autostart as the user that owns the container: NAMESTATEIPV4 IPV6 AUTOSTART -- test1 STOPPED - - NO So given that I put this: lxc.start.auto = 1