[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] [sandbox PATCH 13/15] Use args.uri rather then hard coding lxc:///



On Wed, Apr 03, 2013 at 07:17:31PM -0400, Dan Walsh wrote:
> Signed-off-by: Dan Walsh <dwalsh redhat com>
> ---
>  bin/virt-sandbox-service | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/bin/virt-sandbox-service b/bin/virt-sandbox-service
> index 8571374..8c9ea76 100755
> --- a/bin/virt-sandbox-service
> +++ b/bin/virt-sandbox-service
> @@ -928,7 +928,7 @@ def fullpath(cmd):
>      return cmd
>  
>  def execute(args):
> -    myexec = [ "virsh", "-c", "lxc:///", "lxc-enter-namespace" ]
> +    myexec = [ "virsh", "-c", args.uri, "lxc-enter-namespace" ]
>  #    myexec = [ "virt-sandbox-service-util", "execute" ]
>      if args.noseclabel:
>          myexec.append("--noseclabel")

ACK

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]