On Thu, 2011-11-03 at 11:25 +0530, nishant mungse wrote:
> Hi,
> 
> I am using lxc-execute command and in place of command to execute i am
> using bin/smbtorture //nishant/ubuntu -Uubuntu_user%passwd raw.write
> test.
> 
> command::
> lxc-execute -n ubuntu_user
> -f /home/nishant/ubuntu.conf  
> /home/nishant/Desktop/samba-4.0.0alpha15/bin/smbtorture //localhost/ubuntu  
> -Uubuntu_user%npasswd raw.write
> 
> o/p
> lxc-execute: invalid option -- 'U'
> 
> 
> It is not recognizing this -U option which is required in case of
> smbtorture.
> 
> Can anyone plz tell me how to execute such command on containers?


You need to insert -- before the command to execute so that lxc doesn't
try to parse the remaining command line arguments:

lxc-execute -n ubuntu_user -f /home/nishant/ubuntu.conf -- smbtorture

Cheers.

-- 
Gregory Kurz                                     [email protected]
Software Engineer @ IBM/Meiosys                  http://www.ibm.com
Tel +33 (0)534 638 479                           Fax +33 (0)561 400 420

"Anarchy is about taking complete responsibility for yourself."
        Alan Moore.


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Lxc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lxc-users

Reply via email to