Explorar o código

Quito la creación de VM desde plantilla

Celestino Rey hai 7 meses
pai
achega
b5c45d5861
Modificáronse 1 ficheiros con 1 adicións e 8 borrados
  1. 1 8
      README.md

+ 1 - 8
README.md

@@ -38,14 +38,7 @@ Access the interactive documentation at http://0.0.0.0:8000/docs
 
 - GET / : Root message
 - GET /vms : List all VMs
-- POST /vms?name={name}&template={template}&disk={disk} : Create a new VM from a template with custom disk name
 - GET /vms/{vm_id}/start : Start a VM by ID
 - GET /vms/{vm_id}/stop : Stop a VM by ID
 - DELETE /vms/{vm_name} : Delete a VM by name
-- POST /disks?name={name}&size={size} : Create a new disk image with specified size in GB
-
-## Templates
-
-VM templates are XML files stored in the `templates/` directory. Each template defines the base configuration for a VM. When creating a VM, the name in the XML is replaced with the provided name, and the disk file path is set using the `LIBVIRT_IMAGES_PATH` environment variable (default: /var/lib/libvirt/images) plus the provided disk name.
-
-Example template: `templates/ubuntu.xml`
+- POST /disks?name={name}&size={size} : Create a new disk image with specified size in GB