[Lxc-users] lxc-start at boot

err404 err404 at free.fr
Sun Jun 26 18:10:20 UTC 2011


On 26/06/2011 16:46, Mihamina Rakotomandimby wrote:
> Hi all,
>
> I usually launch my containers with 'sudo lxc-start -n<name>'.
> The problem with this is the fact it doesn't get my back to a shell
> prompt.
> To have what I want, I have to workarround, with screen or end the
> command line with '&'.
>
> More globally, if the containers configuration files are all stored
> in /etc/lxc/, with the basename same as the container name, How to
> make /etc/lxc/ scanned for '*.conf' file and then all VMs started?
>
> If it's  necessary, I'm running Debian Squeeze.
>
may be you can try -d option :

'sudo lxc-start -d -n<name>'





More information about the lxc-users mailing list