From c94c7577fbd60129ec12467b6e632ee65a37bf35 Mon Sep 17 00:00:00 2001 From: Brian Seymour Date: Mon, 22 Oct 2018 17:00:12 -0500 Subject: [PATCH] enable lxc on api --- api/main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/api/main.go b/api/main.go index 589288d..7f1e68a 100644 --- a/api/main.go +++ b/api/main.go @@ -109,7 +109,8 @@ func launch(request inbound, res http.ResponseWriter) { args = append(args, strings.Join(request.Args, "\n")) // set up the execution - cmd := exec.Command("../docker/execute", args...) + //cmd := exec.Command("../docker/execute", args...) + cmd := exec.Command("../lxc/execute", args...) cmd.Env = os.Environ() if instance > 0 {