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

Reply via email to