<div dir="ltr"><div>Thanks! <br><br>So it sounds like I need to edit the "vm description file" and change the "hostname" variable. <br><br></div><div>Where is the "vm description file" located? I tried running the following google search:<br>
site:<a href="http://docs.opennebula.org/4.6/">http://docs.opennebula.org/4.6/</a> "vm description file"<br><br></div><div>But only got one result, <a href="http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html">http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html</a>, which I've already read. <br>
<br></div><div>I'm assuming that the "vm description file" is a file that is created on the server running sunstone, some sort of conf file that is stored somewhere. But I could be completely wrong. <br><br>
Thank you for the assistance. <br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jul 22, 2014 at 5:37 AM, Javier Fontan <span dir="ltr"><<a href="mailto:jfontan@opennebula.org" target="_blank">jfontan@opennebula.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You should use SET_HOSTNAME variable instead:<br>
<br>
<a href="http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html#using-user-template-variables" target="_blank">http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html#using-user-template-variables</a><br>

<div class="HOEnZb"><div class="h5"><br>
On Tue, Jul 22, 2014 at 10:37 AM, Diego M. <<a href="mailto:thedragonsreborn@hotmail.com">thedragonsreborn@hotmail.com</a>> wrote:<br>
> I was checkign the documentation, and you can use for HOSTNAME=$NAME on the<br>
> contextualization part of your template.<br>
> I tried it and didn't worked for me, but it is supposed to work. Maybe I'm<br>
> doing something wrong.<br>
><br>
> ________________________________<br>
> Date: Mon, 21 Jul 2014 17:14:56 -0700<br>
> From: <a href="mailto:kerryhall@gmail.com">kerryhall@gmail.com</a><br>
> To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
> Subject: [one-users] Setting hostname for vm<br>
><br>
><br>
> Hi folks,<br>
><br>
> I'm trying to determine how I can set the hostname for the vms I spin up. It<br>
> looks like the web interface for vms has no place to enter additional<br>
> one-off type properties, like hostname. This is true for both the user web<br>
> interface and the admin web interface.<br>
><br>
> The template creation interface certainly has a place for raw data, but I'm<br>
> assuming I shouldn't have to create one template per vm just to set the<br>
> hostname. Perhaps setting up a template correctly will change the vm<br>
> interface, allowing a place to type in a hostname.<br>
><br>
> Host and guest are both CentOS 6.<br>
><br>
> Thanks!<br>
> Kerry<br>
><br>
><br>
> _______________________________________________ Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
<br>
<br>
<br>
</div></div><span class="HOEnZb"><font color="#888888">--<br>
Javier Fontán Muiños<br>
Developer<br>
OpenNebula - Flexible Enterprise Cloud Made Simple<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | @OpenNebula | <a href="http://github.com/jfontan" target="_blank">github.com/jfontan</a><br>
</font></span></blockquote></div><br></div>