Update start-linux.js

This commit is contained in:
heckeralt 2024-09-20 15:29:15 -04:00
parent af74551381
commit a514e36bc1
1 changed files with 3 additions and 2 deletions

View File

@ -1,7 +1,8 @@
const http = require('http');
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) {
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
}).listen(8080); //the server object listens on port 8080