enable lxc on api

This commit is contained in:
Brian Seymour 2018-10-22 17:00:12 -05:00
parent e75ae5365e
commit c94c7577fb
1 changed files with 2 additions and 1 deletions

View File

@ -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 {