<html><body><div style="font-family: times new roman, new york, times, serif; font-size: 12pt; color: #000000"><div><br></div><div><br></div><hr id="zwchr"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;"><b>From: </b>"Koen Vanoppen" <vanoppen.koen@gmail.com><br><b>To: </b>users@ovirt.org<br><b>Sent: </b>Thursday, January 2, 2014 12:12:40 PM<br><b>Subject: </b>[Users] Hostname<br><div><br></div><div dir="ltr"><div><div>Dear All,<br><div><br></div></div>Is there a way, when you create a new vm in ovirt, the Name you choose for the vm, reflects the hostname of the vm?<br><div><br></div></div>Kind Regards,<br><div><br></div>Koen<br></div></blockquote><div>Hi,<br></div><div>is this windows or linux guest?<br></div><div>for windows you can use windows sysprep, it requires using template and preparing it for sysprep, the vm name will be the host name by default.<br></div><div>for linux, you can install cloud init package (>0.7.2), and in run-once you can set the hostname and many other configurations<br></div><div>more info here:<br></div><div><a href="http://www.ovirt.org/Features/Cloud-Init_Integration">http://www.ovirt.org/Features/Cloud-Init_Integration</a></div><div><br></div><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;" data-mce-style="border-left: 2px solid #1010FF; margin-left: 5px; padding-left: 5px; color: #000; font-weight: normal; font-style: normal; text-decoration: none; font-family: Helvetica,Arial,sans-serif; font-size: 12pt;">_______________________________________________<br>Users mailing list<br>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blockquote><div><br></div></div></body></html>