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

Dan Walsh dwalsh at redhat.com
Wed Apr 3 23:17:31 UTC 2013


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")
-- 
1.8.2




More information about the libvir-list mailing list