Reformatting
This commit is contained in:
parent
3291fa797a
commit
9f8b22e9e4
@ -8,9 +8,9 @@ visible: true
|
|||||||
## Convert to proper image format
|
## Convert to proper image format
|
||||||
|
|
||||||
XCP-ng only supports the `vhd`, `vmdk` or `raw` image formats.
|
XCP-ng only supports the `vhd`, `vmdk` or `raw` image formats.
|
||||||
Use `qemu-img` to convert other formats into the desired format.
|
Use `qemu-img` to convert other formats into the desired format.
|
||||||
|
|
||||||
`vhd` and `vmdk` are both sparsely allocated and somewhat compressed, therefore being quicker to upload than `raw`.
|
`vhd` and `vmdk` are both sparsely allocated and somewhat compressed, therefore being quicker to upload than `raw`.
|
||||||
|
|
||||||
To convert, use these options depending on the desired format:
|
To convert, use these options depending on the desired format:
|
||||||
|
|
||||||
@ -32,7 +32,7 @@ qemu-img convert -f qcow2 -O vmdk <image>.qcow2 <image>.vmdk
|
|||||||
|
|
||||||
Use Xen Orchestra to import the disk.
|
Use Xen Orchestra to import the disk.
|
||||||
The option can is found under `Import > Disk`
|
The option can is found under `Import > Disk`
|
||||||
Select any storage repository on the server.
|
Select any storage repository on the server.
|
||||||
|
|
||||||
![Import VM disk in XCP-ng](./import-vm-disk-xcp-ng.png)
|
![Import VM disk in XCP-ng](./import-vm-disk-xcp-ng.png)
|
||||||
|
|
||||||
@ -41,6 +41,6 @@ Select any storage repository on the server.
|
|||||||
The imported disk is not directly usable. Instead, we create a new VM first.
|
The imported disk is not directly usable. Instead, we create a new VM first.
|
||||||
Use whatever settings you want and create a new disk. **Make sure to choose a boot mode (BIOS/UEFI) that is compatible with the imported disk**
|
Use whatever settings you want and create a new disk. **Make sure to choose a boot mode (BIOS/UEFI) that is compatible with the imported disk**
|
||||||
After creating the VM, go into its disk management and attach the imported disk.
|
After creating the VM, go into its disk management and attach the imported disk.
|
||||||
The disk created with the VM can be deleted.
|
The disk created with the VM can be deleted.
|
||||||
|
|
||||||
Finally, under the advanced tab, disable all other options besides booting from HDD and convert the VM into a template.
|
Finally, under the advanced tab, disable all other options besides booting from HDD and convert the VM into a template.
|
||||||
|
Loading…
Reference in New Issue
Block a user