formating
This commit is contained in:
parent
c99f3e8877
commit
2948087724
2
lxc.js
2
lxc.js
@ -28,7 +28,6 @@ module.exports = function(config){
|
||||
};
|
||||
|
||||
obj.startEphemeral = function(name, base_name, callback){
|
||||
|
||||
var output = '';
|
||||
sysExec('lxc-start-ephemeral -o '+base_name+ ' -n '+name +' --union-type overlayfs -d', function(data){
|
||||
if(data.match("doesn't exist.")) return callback({status: 500, error: "doesn't exist."});
|
||||
@ -43,7 +42,6 @@ module.exports = function(config){
|
||||
sysExec('lxc-stop -n '+ name, callback);
|
||||
};
|
||||
|
||||
|
||||
obj.freeze = function(name, cbComplete, cbData){
|
||||
sysExec('lxc-freeze -n '+name, cbComplete, cbData);
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user