Manual:CHR ProxMox installation: Difference between revisions
Jump to navigation
Jump to search
Inital stuff |
No edit summary |
||
Line 1: | Line 1: | ||
Create new guest with the system disk and other devices as required. | * Create a new guest with the system disk and other devices as required. | ||
Then you have to manually upload the CHR disk on the ProxMox host. | * Then you have to manually upload the CHR disk (.img) on the ProxMox host. | ||
Use '' | * Use ''scp'' or any other comparable tool as that will use SSH for the upload and it does not require any additional configuration. | ||
Either | * Either copy the file to the server and then manually edit the VM's .conf file or replace previously created system image file used for booting the guest. | ||
Local storage on ProxMox is in /var/lib/vz. There should be | * Local storage on ProxMox is in ''/var/lib/vz'' directory. There should be a subdirectory called ''images'' with a directory for each VM (named by the VM number). You can copy the files directly there. | ||
For adding the existing file to the VM, edit the VM's .conf file directly. Look in ''/etc/pve/qemu-server/'' for a file with the VM number followed by .conf. | * For adding the existing file to the VM, edit the VM's .conf file directly. Look in ''/etc/pve/qemu-server/'' for a file with the VM number followed by .conf. | ||
{{Note|It's a good idea to create a second test VM so you can refer to it's .conf file to make sure you get the syntax right}} | {{Note|It's a good idea to create a second test VM so you can refer to it's .conf file to make sure you get the syntax right}} |
Revision as of 15:07, 5 September 2017
- Create a new guest with the system disk and other devices as required.
- Then you have to manually upload the CHR disk (.img) on the ProxMox host.
- Use scp or any other comparable tool as that will use SSH for the upload and it does not require any additional configuration.
- Either copy the file to the server and then manually edit the VM's .conf file or replace previously created system image file used for booting the guest.
- Local storage on ProxMox is in /var/lib/vz directory. There should be a subdirectory called images with a directory for each VM (named by the VM number). You can copy the files directly there.
- For adding the existing file to the VM, edit the VM's .conf file directly. Look in /etc/pve/qemu-server/ for a file with the VM number followed by .conf.
Note: It's a good idea to create a second test VM so you can refer to it's .conf file to make sure you get the syntax right