Thanks! So it sounds like I need to edit the "vm description file" and change the "hostname" variable.
Where is the "vm description file" located? I tried running the following google search: site:http://docs.opennebula.org/4.6/ "vm description file" But only got one result, http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html, which I've already read. 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. Thank you for the assistance. On Tue, Jul 22, 2014 at 5:37 AM, Javier Fontan <[email protected]> wrote: > You should use SET_HOSTNAME variable instead: > > > http://docs.opennebula.org/4.6/user/virtual_machine_setup/cong.html#using-user-template-variables > > On Tue, Jul 22, 2014 at 10:37 AM, Diego M. <[email protected]> > wrote: > > I was checkign the documentation, and you can use for HOSTNAME=$NAME on > the > > contextualization part of your template. > > I tried it and didn't worked for me, but it is supposed to work. Maybe > I'm > > doing something wrong. > > > > ________________________________ > > Date: Mon, 21 Jul 2014 17:14:56 -0700 > > From: [email protected] > > To: [email protected] > > Subject: [one-users] Setting hostname for vm > > > > > > Hi folks, > > > > I'm trying to determine how I can set the hostname for the vms I spin > up. It > > looks like the web interface for vms has no place to enter additional > > one-off type properties, like hostname. This is true for both the user > web > > interface and the admin web interface. > > > > The template creation interface certainly has a place for raw data, but > I'm > > assuming I shouldn't have to create one template per vm just to set the > > hostname. Perhaps setting up a template correctly will change the vm > > interface, allowing a place to type in a hostname. > > > > Host and guest are both CentOS 6. > > > > Thanks! > > Kerry > > > > > > _______________________________________________ Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > _______________________________________________ > > Users mailing list > > [email protected] > > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org > > > > > > -- > Javier Fontán Muiños > Developer > OpenNebula - Flexible Enterprise Cloud Made Simple > www.OpenNebula.org | @OpenNebula | github.com/jfontan >
_______________________________________________ Users mailing list [email protected] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
