On Fri, Apr 27, 2012 at 5:36 PM, Matthijs Kooijman <matth...@stdin.nl> wrote:
> Hi István,
>
>> Somehow I managed to create a shell script that can start it, but for some 
>> reason executing the command directly via ssh does not work.
>> lxc-start -n fc14 -o /temp/fc14.log -s lxc.console=/temp/fc14.sys &
>> lxc-start -n fc14 -o /temp/fc14.log -s lxc.console=/temp/fc14.sys >> 
>> /temp/fc14.log &
> Not sure if this is the cause of the problem, but you should probably
> be using lxc-start -d instead of backgrounding it using your shells &
> operator.

... or use screen :D
http://wiki.1tux.org/wiki/Lxc/Running#Starting_a_container_in_new_screen_session

It doesn't create a log file of the console output though. Perhaps
using "script -f" and playing with SHELL variable will work.

-- 
Fajar

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Lxc-users mailing list
Lxc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to