Compare commits

..

1 Commits
main ... main

Author SHA1 Message Date
heckeralt cc326e054a Update start-linux.js 2024-09-20 16:32:08 -04:00
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
const http = require('http'); const http = require('http');
const child = require("child_process"); const child = require("child_process");
let makedisk = "qemu-img create vm.img 30G" // make a 30GB disk let makedisk = "qemu-img create vm.img 30G" // make a 30GB disk
let qemucmd = "qemu-system-x86_64 -vnc :1 -m 1G -hda vm.img -accel kvm" let qemucmd = "qemu-system-x86_64 -vnc :1 -m 1G -hda vm.img"
child.execSync(makedisk) child.execSync(makedisk)
child.execSync(qemucmd) child.execSync(qemucmd)
const server = http.createServer((req, res) => { const server = http.createServer((req, res) => {