Re: [Lxc-users] help regarding lxc

2011-08-30 Thread Canhua
do you have /sbin/init file in container's rootfs? e.g. /var/lib/lxc/guest/sbin/init On Tue, Aug 30, 2011 at 2:39 PM, nishant mungse nishantmun...@gmail.com wrote: hi Joerg Thnks 4 reply. I have executed the script now the error is gone but there is some problem. lxc-start -n guest

Re: [Lxc-users] help regarding lxc

2011-08-30 Thread Canhua
this file is needed. some form of bootstrap is need to setup these system files. On Tue, Aug 30, 2011 at 3:07 PM, nishant mungse nishantmun...@gmail.com wrote: hii Canhua No there is no such  file. Regards, Nishant On Tue, Aug 30, 2011 at 12:20 PM, Canhua dreamerat...@gmail.com wrote: do

Re: [Lxc-users] help regarding lxc

2011-08-25 Thread Canhua
hi, You may start container just like this: lxc-start -n vm2 without -f ... On Thu, Aug 25, 2011 at 3:09 PM, nishant mungse nishantmun...@gmail.com wrote: hiii thnks Canhua. But still there is a problem Here are thing i did 1) lxc-create -n vm2 -f /home/nishant/vm2/lxc-macvlan.conf -t

Re: [Lxc-users] help regarding lxc

2011-08-24 Thread Canhua
You may have missed to lxc-create the container. You shoulld run: lxc-create -n [container-name] -f [/path/to/config-file] -t [template-name] for example lxc-create -n vm0 -f [lxc-veth.conf] -t debian On Wed, Aug 24, 2011 at 10:17 PM, nishant mungse nishantmun...@gmail.com wrote: hello Canhua

Re: [Lxc-users] network problem with lxc

2011-08-23 Thread Canhua
Finally I find vmware do support multiple mac on a single interface. What I missed is setting promiscuous mode for that interface on vmware virtual switch. Additionally, what I use is vmware esx. On Tue, Aug 23, 2011 at 11:41 AM, Canhua dreamerat...@gmail.com wrote: On Tue, Aug 23, 2011 at 11:25

[Lxc-users] network problem with lxc

2011-08-22 Thread Canhua
hi I have a network problem with lxc. I use bridge and veth for the network setup. Now I can connect to the containers from host system, but can't from network outside. My various interfaces are as shown in pastebin: http://pastebin.com/RqtyitG6. In those interfaces, eth1 is irrelavant, and eth0

Re: [Lxc-users] network problem with lxc

2011-08-22 Thread Canhua
hi, one additional info: I use lxc on a vmware virtual machine. And I suspect that veth* virtual interface should be assigned mac address with vmware's mac prefix (00:50:56:*). But I don't know how to manually set mac address of the veth* interface. On Mon, Aug 22, 2011 at 10:55 PM, Canhua