Update hostname VDI Golden Image

Showing results for 
Show  only  | Search instead for 
Did you mean: 
Please sign in to see details of an important advisory in our Customer Advisories area.

Update hostname VDI Golden Image

L3 Networker

Hi ,


we need change hostname on Golden Image VDI , it's necessary reinstall agent  Cortex XDR or exist some command to update this?

Best regards
Tiago Marques

L5 Sessionator

Hi @tlmarques ,


Thank you writing to LiveCommunity!


In case if you have the agent already installed and functional on golden image and the situation is to only update the golden image name, in that circumstance, a reinstall isn’t required.


Instead you must run the cytool vdi update to update the golden image name and ID in the persistent database to allow the agent and its virtual instances to register the change.



If you would update the golden image with additional patches, elements and applications, in that case you must follow the VDI provisioning procedures to scan the image again and then close the snapshot before deployment to update the golden image instance.

Reference here: https://docs-cortex.paloaltonetworks.com/r/Cortex-XDR/7.7/Cortex-XDR-Agent-Administrator-Guide/Corte...



Please mark the response as Accept as Solution if it answers your query.



L3 Networker

cytool vdi update is enough?



Best regards
Tiago Marques

If the objective of opening the golden image is only to update the hostname, then, YES. It should be enough. 

However, if there are changes made to the golden images of any form(installation/uninstallation, patching, file addition, etc.), then you would need to run the cytool commands for image scans, as mentioned in the docs reference above. Circling back to the point is that, in any of the above cited use cases, we do not need a reinstall as an action

in this case is only the hostname was change.
Thanks 😉

Best regards
Tiago Marques
  • 4 replies
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!