|
@@ -37,7 +37,7 @@ class BootOrder(BaseModel):
|
|
|
order: list[str]
|
|
order: list[str]
|
|
|
|
|
|
|
|
# Connect to libvirt
|
|
# Connect to libvirt
|
|
|
-conn = libvirt.open('qemu+ssh://creylopez@192.168.1.116/system')
|
|
|
|
|
|
|
+conn = libvirt.open('qemu+ssh://creylopez@192.168.1.129/system')
|
|
|
|
|
|
|
|
@app.get("/")
|
|
@app.get("/")
|
|
|
async def root():
|
|
async def root():
|
|
@@ -612,4 +612,4 @@ async def delete_snapshot(vm_name: str, snapshot_name: str):
|
|
|
return {"error": f"Error al eliminar snapshot: {error_msg}"}
|
|
return {"error": f"Error al eliminar snapshot: {error_msg}"}
|
|
|
except Exception as e:
|
|
except Exception as e:
|
|
|
error_msg = str(e)
|
|
error_msg = str(e)
|
|
|
- print(f"[SNAPSHOT] Unexpected error: {error_msg}")
|
|
|
|
|
|
|
+ print(f"[SNAPSHOT] Unexpected error: {error_msg}")
|