---
bin/virt-sandbox-service | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/bin/virt-sandbox-service b/bin/virt-sandbox-service
index ceb05b3..1cce6a5 100755
--- a/bin/virt-sandbox-service
+++ b/bin/virt-sandbox-service
@@ -909,7 +909,7 @@ def usage(parser, msg):
def sandbox_list(args):
if args.running:
import libvirt
- conn = libvirt.open("lxc:///")
+ conn = libvirt.open(args.uri)
running = conn.listAllDomains(0)
conn.close()
running.sort()
@@ -971,7 +971,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