production backend setup
This commit is contained in:
parent
6b103e7510
commit
77ea56e1a8
1 changed files with 3 additions and 3 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue