Changing the Hostname Using the VMname Generated by Blueprint? | Nutanix Community
Skip to main content

Hi to all,

I’m trying to deploy systems using nutanix calm and blueprints, the guest vm are windows server 2019. Is possible changing the hostname of windows using the vmname generated by blueprint?

Thanks in advance

Yes, it is possible.
Use sysprep by windows and it would be the line below:

<settings pass="specialize">
      <component name="Microsoft-Windows-Shell-Setup" xmlns:wcm="http://schemas.microsoft.com/WMIConfig/2002/State" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" processorArchitecture="amd64" publicKeyToken="31bf3856ad364e35" language="neutral" versionScope="nonSxS">
         <ComputerName>@@{name}@@</ComputerName>
         <RegisteredOrganization>Nutanix</RegisteredOrganization>
         <RegisteredOwner>Acropolis</RegisteredOwner>
         <TimeZone>UTC</TimeZone>
      </component>


Reply