From 8c32b2e2468a2de64183619288d3294d2b336a5a Mon Sep 17 00:00:00 2001 From: william Date: Fri, 27 May 2016 00:52:07 -0400 Subject: [PATCH] stuff --- lxc.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lxc.js b/lxc.js index b8e1472..1b6acf0 100644 --- a/lxc.js +++ b/lxc.js @@ -4,7 +4,7 @@ var exec = require('child_process').exec; 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"'; + command = 'ssh -o UserKnownHostsFile=/dev/null virt@'+ ip + ' "echo ' + command + '|base64 --decode|bash"'; // command = 'unset XDG_SESSION_ID XDG_RUNTIME_DIR; cgm movepid all virt $$; ' + command; return exec(command, (function(callback){