From 3555473fed71ac1d37da4d9ae7a1689f3137d3d0 Mon Sep 17 00:00:00 2001 From: Alexis Tyler Date: Thu, 22 Jul 2021 09:16:12 +0930 Subject: [PATCH] fix: hypervisor started path --- app/core/utils/vms/get-hypervisor.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/core/utils/vms/get-hypervisor.ts b/app/core/utils/vms/get-hypervisor.ts index ddbec0b7e..bc696682b 100644 --- a/app/core/utils/vms/get-hypervisor.ts +++ b/app/core/utils/vms/get-hypervisor.ts @@ -40,7 +40,7 @@ libvirtDirWatcher.on('all', async (event, fileName) => { } // VM hypervisor started - if (event === 'add' && fileName === 'add /var/run/libvirt/qemu/driver.pid') { + if (event === 'add' && fileName === '/var/run/libvirt/libvirt-sock') { // Start connection hypervisor = new Hypervisor({ uri }); await hypervisor.connectOpen().catch((error: unknown) => {