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

2014-06-09 Thread Michael H. Warfield
On Mon, 2014-06-09 at 10:55 -0400, Stéphane Graber wrote: > 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

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

2014-06-09 Thread Stéphane Graber
On Mon, Jun 09, 2014 at 11:30:38AM -0400, Shidan wrote: > 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 - -

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 lxc.start.dela

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 containe

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: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

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 wr

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 =

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

2014-06-09 Thread Michael H. Warfield
Hello, On Mon, 2014-06-09 at 10:07 -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 don't think that's going to work in default.conf. It will have to be in the

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 bo

[lxc-users] LXC auto start not working

2014-06-09 Thread Shidan
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 cases it doesn't work and lxc-ls --fancy shows the autostart flag as