Robert - Sean is correct, you'll have to run a post script/command after the install to query the hostname (that can be obtained from the DHCP service on the virtual router) and change the hostname to that.
Regards, Kirk Jantzer http://about.met/kirkjantzer On Thu, Aug 22, 2013 at 12:41 PM, Sean Hamilton <s...@seanhamilton.co.uk>wrote: > I don't use DHCP for this. > I query the metadata for this: > http://cloudstack.apache.org/docs/en-US/Apache_CloudStack/4.1.0/html/Admin_Guide/user-data-and-meta-data.html > > > On 22 August 2013 16:27, Netsons > Roberto Iervolino < > r.iervol...@netsons.com> wrote: > >> Hello, >> >> >> for Windows Server 2008r2 and Windows Server 2012, there is a way to get >> the hostname dinamically from the DHCP server? >> >> Thanks in advance. >> >> -- >> >> >> >> *Supernova s.r.l.* >> Via G. Misiticoni, 3 >> 65126 - Pescara >> ITALY >> >> >> *www.netsons.com* <http://www.netsons.com> >> *Roberto Iervolino* >> IT System Administrator - L2 Support >> ** >> >> *t. *(+39) 085 45 100 52 >> *m. *(+39) 393 85 677 48 >> *e. *r.iervol...@netsons.com >> >> >> [image: View Roberto Iervolino's profile on >> LinkedIn]<http://it.linkedin.com/pub/roberto-iervolino/70/b81/3aa> >> >> *Netsons® è un marchio registrato dalla Supernova s.r.l.* >> >> Le informazioni trasmesse sono riservate alla persona o alla società >> indicata come destinatario, e possono includere contenuti considerati >> confidenziali. Ogni elaborazione, comunicazione, trasmissione o altro >> utilizzo, anche azioni conseguenti alla conoscenza di queste informazioni >> da parte di chiunque non sia espressamente indicato come destinatario è >> proibita. Nel caso abbiate ricevuto per errore questa comunicazione, siete >> pregati di darne avviso a info [at] netsons.com ed eliminare ogni stampa >> ed ogni traccia informatica. Il ricevente dovrà inoltre accertarsi che gli >> eventuali allegati non contengano virus prima di aprirli. Qualunque >> opinione o affermazione presentata in questo messaggio è da ritenersi >> propria dell'autore e non rappresenta necessariamente la posizione della >> Società. >> >> The information transmitted is intended only for the person or entity to >> which it is addressed and may contain confidential material. Any review, >> retransmission, dissemination or other use of, or taking of any action in >> reliance upon this information by persons or entities other than the >> intended recipient is prohibited. If you received this in error, please >> contact: info [at] netsons.com and delete the material from any >> computer. If this email contains attachments you should ensure they are >> checked for viruses before opening them. Any views or opinions presented >> are solely those of the author and do not necessarily represent those of >> the company. >> > >