Should just be the HOSTNAME variable.  So long as your VM template has the 
contextualization packages installed it should take that variable and apply the 
appropriate hostname on boot.

----- Original Message -----
From: "Jean-Philippe Garcia Ballester" <g...@le-pec.org>
To: users@lists.opennebula.org
Sent: Monday, April 15, 2013 4:23:58 AM
Subject: [one-users] Virtual machine hostname contextualization

  Hi,
  I am currently experimenting on opennebula 4.0 beta to satisfy my personal 
curiosity. I was thinking of creating a non-persistent image with a basic 
Debian installation, a chef-client, and just enough contextualization to let 
the VM connect to the chef server and configure itself.
  However, I did not find any contexualization variable for the template that 
would be replaced by the name of the instantiated VM. Is there such a variable ?
  Regards,

-- 
Jean-Philippe Garcia Ballester
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
NOTICE: Protect the information in this message in accordance with the 
company's security policies. If you received this message in error, immediately 
notify the sender and destroy all copies.
_______________________________________________
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org

Reply via email to