Update start-linux.js
This commit is contained in:
parent
af74551381
commit
a514e36bc1
|
@ -1,7 +1,8 @@
|
||||||
const http = require('http');
|
const http = require('http');
|
||||||
const child = require("child_process");
|
const child = require("child_process");
|
||||||
//create a server object:
|
let qemucmd = "qemu-system-x86_64 -vnc :1 -m 1G"
|
||||||
|
child.execSync()
|
||||||
http.createServer(function (req, res) {
|
http.createServer(function (req, res) {
|
||||||
res.write('SSH working at IP: this.is.a.test'); //write a response to the client
|
res.write('Server running at IP 127.0.0.1:5901 (VNC)'); //write a response to the client
|
||||||
res.end(); //end the response
|
res.end(); //end the response
|
||||||
}).listen(8080); //the server object listens on port 8080
|
}).listen(8080); //the server object listens on port 8080
|
Loading…
Reference in New Issue