diff --git a/backend/src/SocketComputerServer.ts b/backend/src/SocketComputerServer.ts index 5992b86..136e899 100644 --- a/backend/src/SocketComputerServer.ts +++ b/backend/src/SocketComputerServer.ts @@ -155,7 +155,7 @@ class SocketVM extends EventEmitter { super(); this.vm = vm; - this.timer = new ExtendableTimer(2); + this.timer = new ExtendableTimer(15); this.timer.on('expired', async () => { // bye bye! @@ -420,8 +420,8 @@ export class SocketComputerServer { } async InitVM() { - let diskpath = '/srv/collabvm/vms/socket1/socket1.qcow2'; - let slotDef: QemuVmDefinition = Slot_PCDef('2G', '-netdev user,id=vm.wan', 'rtl8139', await GenMacAddress(), true, diskpath, 'qcow2'); + let diskpath = '/srv/collabvm/vms/socket1/winxp.qcow2'; + let slotDef: QemuVmDefinition = Slot_PCDef('2G', '-netdev tap,ifname=ktsocket1,script=no,downscript=no,id=vm.wan', 'rtl8139', 'c0:11:ab:69:44:02', true, diskpath, 'qcow2'); setSnapshot(true);