This commit is contained in:
2016-05-05 00:24:23 -04:00
parent 1db5cbb600
commit 7834e892bf
2 changed files with 3 additions and 3 deletions

2
lxc.js
View File

@ -42,7 +42,7 @@ var lxc = {
startEphemeral: function(name, base_name, ip, callback){
var command = 'lxc-start-ephemeral -o '+base_name+ ' -n '+name +' --union-type overlayfs -d';
return sysExec(command, function(data){
return sysExec(command, ip, function(data){
console.log('startEphemeral', arguments);
if(data.match("doesn't exist.")){
return callback({status: 500, error: "doesn't exist."});