Hello Everyone!
I need to be able to rename disk images stored in local-lvm. We have a gui site that uses the Promox API and when our users go to create a VM and select an OS template all they see is vm-9000-disk-0,vm-9001-disk-0 etc.
Currently each of the vm-9000-disk-0,vm-9001-disk-0,vm-9002-disk-0 corresponds to a different OS for cloning to create a new vm.
I just want to rename each disk from vm-9000-disk-0 TO os-name-version like "Ubuntu-16-04-LTS" so users would see name of the os they want to use NOT vm-9000-disk-0.
I use the below to import my images to lvm.
qm importdisk 9000 bionic-server-cloudimg-amd64.img local-lvm
Then i add the imported image to my vm for cloning with
qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-0 "i would change this to my new name"
Thanks a Bunch
I need to be able to rename disk images stored in local-lvm. We have a gui site that uses the Promox API and when our users go to create a VM and select an OS template all they see is vm-9000-disk-0,vm-9001-disk-0 etc.
Currently each of the vm-9000-disk-0,vm-9001-disk-0,vm-9002-disk-0 corresponds to a different OS for cloning to create a new vm.
I just want to rename each disk from vm-9000-disk-0 TO os-name-version like "Ubuntu-16-04-LTS" so users would see name of the os they want to use NOT vm-9000-disk-0.
I use the below to import my images to lvm.
qm importdisk 9000 bionic-server-cloudimg-amd64.img local-lvm
Then i add the imported image to my vm for cloning with
qm set 9000 --scsihw virtio-scsi-pci --scsi0 local-lvm:vm-9000-disk-0 "i would change this to my new name"
Thanks a Bunch