...
Info |
---|
If you are replacing a disk that was created from an instance of a captured VM, add an Abiquo OVF file for to the original VM template folder before you upload your new disk. You can copy an OVF file from another Abiquo template created with the same disk and update the details of the disk of your template.In Abiquo the OVF file should have a product section, see OVF reference |
Warning |
---|
|
...
Code Block |
---|
/am/erepos/1/templates/1/bundle/e05785d2-b49a-4034-9bb9-3440e1693589-4ba3b6e1-6f06-47d9-8703-9e9 |
Tip |
---|
The template path does not contain the ID of the datacenter repository. It contains the folder name from /opt/vm_repository. |
Use this information to build the request to replace the disk.
Note |
---|
Warning |
If your file or folder name contains spaces or other encoded characters, encode them twice. |
Info |
---|
If the original disk file is not available, you can create a placeholder file in the folder using the touch command, in the format touch {currentPath}. For example: |
Tip |
---|
The template path does not contain the ID of the datacenter repository. It contains the folder name from /opt/vm_repository. |
You will use this information to build the request to replace the disk.
cURL
In the following cURL, the base_url
is the URL of the Abiquo API server, without the /api
path. For example, https://abiquo.example.com
.
...