Rename disks when creating VM from Template

--_9ad3ba9d-5dc5-4f01-af85-ac68972e6bb1_ Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable =0A= =0A= =0A= Hello all=2C I have noticed that when I create a VM from a template the disks of the VM = have the name of the Templates's disk. What I would like is to be able to rename the VM's disks based on the hostn= ame. For example the template I use have the following disk names: VM_Template_Disk1VM_Template_Disk2VM_Template_Disk3 When I create a new VM (e.g. testvm01) the disk names remain the same. What= I would like is to be able to rename them automatically as below: testvm01_Disk1testvm01_Disk2testvm01_Disk3 At the moment I'm editing the names manually using the oVirt GUI. Is it possible to do this automatically? Thanks=2C Sokratis=0A= = --_9ad3ba9d-5dc5-4f01-af85-ac68972e6bb1_ Content-Type: text/html; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable <html> <head> </head> <body class=3D'hmmessage'><div dir=3D'ltr'>=0A= =0A= <style><!--=0A= .hmmessage P=0A= {=0A= margin:0px=3B=0A= padding:0px=0A= }=0A= body.hmmessage=0A= {=0A= font-size: 12pt=3B=0A= font-family:Calibri=0A= }=0A= --></style>=0A= <div dir=3D"ltr">Hello all=2C<div><br></div><div>I have noticed that when I= create a VM from a template the disks of the VM have the name of the Templ= ates's disk.</div><div><br></div><div>What I would like is to be able to re= name the VM's disks based on the hostname.</div><div><br></div><div>For exa= mple the template I use have the following disk names:</div><div><br></div>= <div>VM_Template_Disk1</div><div>VM_Template_Disk2</div><div>VM_Template_Di= sk3</div><div><br></div><div>When I create a new VM (e.g. testvm01) the dis= k names remain the same. What I would like is to be able to rename them aut= omatically as below:</div><div><br></div><div>testvm01_Disk1</div><div>test= vm01_Disk2</div><div>testvm01_Disk3</div><div><br></div><div>At the moment = I'm editing the names manually using the oVirt GUI.</div><div><br></div><di= v>Is it possible to do this automatically?</div><div><br></div><div>Thanks= =2C</div><div><br></div><div>Sokratis</div></div>=0A= </div></body> </html>= --_9ad3ba9d-5dc5-4f01-af85-ac68972e6bb1_--

From: sokratis123k@outlook.com<br>To: users@ovirt.org<br>Subject: Rename d= isks when creating VM from Template<br>Date: Wed=2C 4 Jun 2014 11:59:55 +03= 00<br><br>=0A= =0A= =0A= <div dir=3D"ltr">=0A= =0A= <style><!--=0A= .ExternalClass .ecxhmmessage P {=0A=
--_b19762da-1364-4eb6-8fe0-e8f94f2c6f82_ Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable Just noticed that I can actually change the disk name at the bottom of Reso= urce Allocation. Apparently I never scrolled down to the very bottom :) From: sokratis123k@outlook.com To: users@ovirt.org Subject: Rename disks when creating VM from Template Date: Wed=2C 4 Jun 2014 11:59:55 +0300 =0A= =0A= =0A= =0A= =0A= =0A= Hello all=2C I have noticed that when I create a VM from a template the disks of the VM = have the name of the Templates's disk. What I would like is to be able to rename the VM's disks based on the hostn= ame. For example the template I use have the following disk names: VM_Template_Disk1VM_Template_Disk2VM_Template_Disk3 When I create a new VM (e.g. testvm01) the disk names remain the same. What= I would like is to be able to rename them automatically as below: testvm01_Disk1testvm01_Disk2testvm01_Disk3 At the moment I'm editing the names manually using the oVirt GUI. Is it possible to do this automatically? Thanks=2C Sokratis=0A= = --_b19762da-1364-4eb6-8fe0-e8f94f2c6f82_ Content-Type: text/html; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>Just noticed that I can actually= change the disk name at the bottom of Resource Allocation. Apparently I ne= ver scrolled down to the very bottom :)<br><br><div><hr id=3D"stopSpelling"= padding:0px=3B=0A= }=0A= =0A= .ExternalClass body.ecxhmmessage {=0A= font-size:12pt=3B=0A= font-family:Calibri=3B=0A= }=0A= =0A= --></style>=0A= <div dir=3D"ltr">Hello all=2C<div><br></div><div>I have noticed that when I= create a VM from a template the disks of the VM have the name of the Templ= ates's disk.</div><div><br></div><div>What I would like is to be able to re= name the VM's disks based on the hostname.</div><div><br></div><div>For exa= mple the template I use have the following disk names:</div><div><br></div>= <div>VM_Template_Disk1</div><div>VM_Template_Disk2</div><div>VM_Template_Di= sk3</div><div><br></div><div>When I create a new VM (e.g. testvm01) the dis= k names remain the same. What I would like is to be able to rename them aut= omatically as below:</div><div><br></div><div>testvm01_Disk1</div><div>test= vm01_Disk2</div><div>testvm01_Disk3</div><div><br></div><div>At the moment = I'm editing the names manually using the oVirt GUI.</div><div><br></div><di= v>Is it possible to do this automatically?</div><div><br></div><div>Thanks= =2C</div><div><br></div><div>Sokratis</div></div>=0A= </div></div> </div></body> </html>= --_b19762da-1364-4eb6-8fe0-e8f94f2c6f82_--

----- Original Message -----
From: "s k" <sokratis123k@outlook.com> To: users@ovirt.org Sent: Thursday, June 5, 2014 10:07:44 PM Subject: Re: [ovirt-users] Rename disks when creating VM from Template
Just noticed that I can actually change the disk name at the bottom of Resource Allocation. Apparently I never scrolled down to the very bottom :)
Hi Sokratis, Great that you've managed to handle it, but if it took you time to realize that, I think it's a bug. Can you please open one? https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt Thanks, Gilad.
From: sokratis123k@outlook.com To: users@ovirt.org Subject: Rename disks when creating VM from Template Date: Wed, 4 Jun 2014 11:59:55 +0300
Hello all,
I have noticed that when I create a VM from a template the disks of the VM have the name of the Templates's disk.
What I would like is to be able to rename the VM's disks based on the hostname.
For example the template I use have the following disk names:
VM_Template_Disk1 VM_Template_Disk2 VM_Template_Disk3
When I create a new VM (e.g. testvm01) the disk names remain the same. What I would like is to be able to rename them automatically as below:
testvm01_Disk1 testvm01_Disk2 testvm01_Disk3
At the moment I'm editing the names manually using the oVirt GUI.
Is it possible to do this automatically?
Thanks,
Sokratis
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

----- Original Message -----
From: "Gilad Chaplik" <gchaplik@redhat.com> To: "s k" <sokratis123k@outlook.com> Cc: users@ovirt.org Sent: Sunday, June 8, 2014 10:39:40 AM Subject: Re: [ovirt-users] Rename disks when creating VM from Template
----- Original Message -----
From: "s k" <sokratis123k@outlook.com> To: users@ovirt.org Sent: Thursday, June 5, 2014 10:07:44 PM Subject: Re: [ovirt-users] Rename disks when creating VM from Template
Just noticed that I can actually change the disk name at the bottom of Resource Allocation. Apparently I never scrolled down to the very bottom :)
Hi Sokratis,
Great that you've managed to handle it, but if it took you time to realize that, I think it's a bug. Can you please open one?
https://bugzilla.redhat.com/enter_bug.cgi?product=oVirt
Thanks, Gilad.
From: sokratis123k@outlook.com To: users@ovirt.org Subject: Rename disks when creating VM from Template Date: Wed, 4 Jun 2014 11:59:55 +0300
Hello all,
I have noticed that when I create a VM from a template the disks of the VM have the name of the Templates's disk.
What I would like is to be able to rename the VM's disks based on the hostname.
For example the template I use have the following disk names:
VM_Template_Disk1 VM_Template_Disk2 VM_Template_Disk3
When I create a new VM (e.g. testvm01) the disk names remain the same. What I would like is to be able to rename them automatically as below:
testvm01_Disk1 testvm01_Disk2 testvm01_Disk3
At the moment I'm editing the names manually using the oVirt GUI.
Is it possible to do this automatically?
Hi Sokratis, if you could open an RFE for that it'll be great. basically it's a matter for preference, if you created your template with "meaningful" disk names, you might want to keep it. I completely agree that one may prefer automatic naming without keeping the original names.
thanks, Liron
Thanks,
Sokratis
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
_______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users

Date: Sun=2C 8 Jun 2014 04:35:32 -0400 From: laravot@redhat.com To: gchaplik@redhat.com CC: sokratis123k@outlook.com=3B users@ovirt.org Subject: Re: [ovirt-users] Rename disks when creating VM from Template =20 =20 =20 ----- Original Message -----
From: "s k" <sokratis123k@outlook.com> To: users@ovirt.org Sent: Thursday=2C June 5=2C 2014 10:07:44 PM Subject: Re: [ovirt-users] Rename disks when creating VM from Templat= e =20 Just noticed that I can actually change the disk name at the bottom o= f Resource Allocation. Apparently I never scrolled down to the very bot= tom :) =20 Hi Sokratis=2C =20 Great that you've managed to handle it=2C but if it took you time to re= alize
From: "Gilad Chaplik" <gchaplik@redhat.com> To: "s k" <sokratis123k@outlook.com> Cc: users@ovirt.org Sent: Sunday=2C June 8=2C 2014 10:39:40 AM Subject: Re: [ovirt-users] Rename disks when creating VM from Template =20 ----- Original Message ----- that=2C I think it's a bug. Can you please open one? =20 https://bugzilla.redhat.com/enter_bug.cgi?product=3DoVirt =20 Thanks=2C Gilad. =20
=20 =20 From: sokratis123k@outlook.com To: users@ovirt.org Subject: Rename disks when creating VM from Template Date: Wed=2C 4 Jun 2014 11:59:55 +0300 =20 Hello all=2C =20 I have noticed that when I create a VM from a template the disks of t= he VM have the name of the Templates's disk. =20 What I would like is to be able to rename the VM's disks based on the hostname. =20 For example the template I use have the following disk names: =20 VM_Template_Disk1 VM_Template_Disk2 VM_Template_Disk3 =20 When I create a new VM (e.g. testvm01) the disk names remain the same= . What I would like is to be able to rename them automatically as below: =20 testvm01_Disk1 testvm01_Disk2 testvm01_Disk3 =20 At the moment I'm editing the names manually using the oVirt GUI. =20 Is it possible to do this automatically? Hi Sokratis=2C if you could open an RFE for that it'll be great. basically it's a matter for preference=2C if you created your template wi=
--_876f6428-4ab2-437a-9f69-b6fe09ee07b6_ Content-Type: text/plain; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable I just created https://bugzilla.redhat.com/show_bug.cgi?id=3D1105887 As I'm mentioning=2C it would be great if the disks could be renamed automa= tically based on the VM name or the hostname in cloud-init tab. Alternatively=2C a "Disks" tab could be created that includes all the disk = related configuration instead of having them at the bottom of Resource allo= cation tab. th "meaningful" disk names=2C you might want to keep it.
I completely agree that one may prefer automatic naming without keeping t= he original names. =20 thanks=2C Liron
=20 Thanks=2C =20 Sokratis =20 _______________________________________________ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20
Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users =20 =
As I'm mentioning=2C it would be great if the disks could be renamed autom= atically based on the VM name or the hostname in cloud-init tab.<div><br></=
--_876f6428-4ab2-437a-9f69-b6fe09ee07b6_ Content-Type: text/html; charset="iso-8859-7" Content-Transfer-Encoding: quoted-printable <html> <head> <style><!-- .hmmessage P { margin:0px=3B padding:0px } body.hmmessage { font-size: 12pt=3B font-family:Calibri } --></style></head> <body class=3D'hmmessage'><div dir=3D'ltr'>I just created =3B<a href=3D= "https://bugzilla.redhat.com/show_bug.cgi?id=3D1105887" target=3D"_blank">h= ttps://bugzilla.redhat.com/show_bug.cgi?id=3D1105887</a><div><br></div><div= div><div>Alternatively=2C a "Disks" tab could be created that includes all = the disk related configuration instead of having them at the bottom of Reso= urce allocation tab.</div><br><div>>=3B Date: Sun=2C 8 Jun 2014 04:35:32 = -0400<br>>=3B From: laravot@redhat.com<br>>=3B To: gchaplik@redhat.com<= br>>=3B CC: sokratis123k@outlook.com=3B users@ovirt.org<br>>=3B Subject= : Re: [ovirt-users] Rename disks when creating VM from Template<br>>=3B <= br>>=3B <br>>=3B <br>>=3B ----- Original Message -----<br>>=3B >= =3B From: "Gilad Chaplik" <=3Bgchaplik@redhat.com>=3B<br>>=3B >=3B = To: "s k" <=3Bsokratis123k@outlook.com>=3B<br>>=3B >=3B Cc: users@o= virt.org<br>>=3B >=3B Sent: Sunday=2C June 8=2C 2014 10:39:40 AM<br>>= =3B >=3B Subject: Re: [ovirt-users] Rename disks when creating VM from Te= mplate<br>>=3B >=3B <br>>=3B >=3B ----- Original Message -----<br>&= gt=3B >=3B >=3B From: "s k" <=3Bsokratis123k@outlook.com>=3B<br>>= =3B >=3B >=3B To: users@ovirt.org<br>>=3B >=3B >=3B Sent: Thursda= y=2C June 5=2C 2014 10:07:44 PM<br>>=3B >=3B >=3B Subject: Re: [ovirt= -users] Rename disks when creating VM from Template<br>>=3B >=3B >=3B= <br>>=3B >=3B >=3B Just noticed that I can actually change the disk = name at the bottom of<br>>=3B >=3B >=3B Resource Allocation. Apparent= ly I never scrolled down to the very bottom :)<br>>=3B >=3B <br>>=3B = >=3B Hi Sokratis=2C<br>>=3B >=3B <br>>=3B >=3B Great that you've = managed to handle it=2C but if it took you time to realize<br>>=3B >=3B= that=2C I think it's a bug.<br>>=3B >=3B Can you please open one?<br>&= gt=3B >=3B <br>>=3B >=3B https://bugzilla.redhat.com/enter_bug.cgi?pr= oduct=3DoVirt<br>>=3B >=3B <br>>=3B >=3B Thanks=2C<br>>=3B >=3B= Gilad.<br>>=3B >=3B <br>>=3B >=3B >=3B <br>>=3B >=3B >=3B = <br>>=3B >=3B >=3B From: sokratis123k@outlook.com<br>>=3B >=3B &g= t=3B To: users@ovirt.org<br>>=3B >=3B >=3B Subject: Rename disks when= creating VM from Template<br>>=3B >=3B >=3B Date: Wed=2C 4 Jun 2014 = 11:59:55 +0300<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B Hello all= =2C<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B I have noticed that wh= en I create a VM from a template the disks of the VM<br>>=3B >=3B >= =3B have the name of the Templates's disk.<br>>=3B >=3B >=3B <br>>= =3B >=3B >=3B What I would like is to be able to rename the VM's disks = based on the<br>>=3B >=3B >=3B hostname.<br>>=3B >=3B >=3B <br>= >=3B >=3B >=3B For example the template I use have the following disk= names:<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B VM_Template_Disk1<= br>>=3B >=3B >=3B VM_Template_Disk2<br>>=3B >=3B >=3B VM_Templa= te_Disk3<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B When I create a n= ew VM (e.g. testvm01) the disk names remain the same. What<br>>=3B >=3B= >=3B I<br>>=3B >=3B >=3B would like is to be able to rename them a= utomatically as below:<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B tes= tvm01_Disk1<br>>=3B >=3B >=3B testvm01_Disk2<br>>=3B >=3B >=3B = testvm01_Disk3<br>>=3B >=3B >=3B <br>>=3B >=3B >=3B At the mome= nt I'm editing the names manually using the oVirt GUI.<br>>=3B >=3B >= =3B <br>>=3B >=3B >=3B Is it possible to do this automatically?<br>&g= t=3B Hi Sokratis=2C<br>>=3B if you could open an RFE for that it'll be gr= eat.<br>>=3B basically it's a matter for preference=2C if you created you= r template with "meaningful" disk names=2C you might want to keep it.<br>&g= t=3B I completely agree that one may prefer automatic naming without keepin= g the original names.<br>>=3B <br>>=3B thanks=2C<br>>=3B Liron<br>>= =3B >=3B >=3B <br>>=3B >=3B >=3B Thanks=2C<br>>=3B >=3B >= =3B <br>>=3B >=3B >=3B Sokratis<br>>=3B >=3B >=3B <br>>=3B &g= t=3B >=3B _______________________________________________<br>>=3B >= =3B >=3B Users mailing list<br>>=3B >=3B >=3B Users@ovirt.org<br>&g= t=3B >=3B >=3B http://lists.ovirt.org/mailman/listinfo/users<br>>=3B = >=3B >=3B <br>>=3B >=3B ___________________________________________= ____<br>>=3B >=3B Users mailing list<br>>=3B >=3B Users@ovirt.org<b= r>>=3B >=3B http://lists.ovirt.org/mailman/listinfo/users<br>>=3B >= =3B <br></div></div> </div></body> </html>= --_876f6428-4ab2-437a-9f69-b6fe09ee07b6_--
participants (3)
-
Gilad Chaplik
-
Liron Aravot
-
s k