[libvirt] [sandbox PATCH 13/15] Use args.uri rather then hard coding lxc:///
Daniel P. Berrange
berrange at redhat.com
Fri Apr 5 11:13:15 UTC 2013
On Wed, Apr 03, 2013 at 07:17:31PM -0400, Dan Walsh wrote:
> Signed-off-by: Dan Walsh <dwalsh at 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 :|
More information about the libvir-list
mailing list