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

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



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


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