From 82ce62a67895e9d352dbabdbbbf23ba4d19b592c Mon Sep 17 00:00:00 2001 From: william Date: Thu, 5 May 2016 00:37:45 -0400 Subject: [PATCH] closer --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index 0dbc9d1..96d4bec 100644 --- a/lxc.js +++ b/lxc.js @@ -1,7 +1,7 @@ 'use strict'; var exec = require('child_process').exec; -function sysExec(command, callback, ip){ +function sysExec(command, ip, callback){ ip = ip || '104.236.77.157'; command = new Buffer(command).toString('base64') command = 'ssh virt@'+ ip + ' "echo ' + command + '|base64 --decode|bash"';