[one-users] Setting hostname for vm

Carlos Martín Sánchez cmartin at opennebula.org
Fri Aug 8 02:01:17 PDT 2014


Hi,

The vm description file is just the VM Template, managed with the
onetemplate command or the Template Sunstone tab.

Regards

--
Carlos Martín, MSc
Project Engineer
OpenNebula - Flexible Enterprise Cloud Made Simple
www.OpenNebula.org | cmartin at opennebula.org | @OpenNebula
<http://twitter.com/opennebula> <cmartin at opennebula.org>


On Tue, Jul 22, 2014 at 9:04 PM, kerryhall . <kerryhall at gmail.com> wrote:

> 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 <jfontan at opennebula.org>
> 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. <thedragonsreborn at hotmail.com>
>> 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: kerryhall at gmail.com
>> > To: users at lists.opennebula.org
>> > 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
>> > Users at lists.opennebula.org
>> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>> >
>> > _______________________________________________
>> > Users mailing list
>> > Users at lists.opennebula.org
>> > 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
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20140808/68cd0474/attachment.htm>


More information about the Users mailing list