closer
This commit is contained in:
parent
8b0556b545
commit
82ce62a678
2
lxc.js
2
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"';
|
||||
|
Loading…
x
Reference in New Issue
Block a user