Hey all – we’re excited to announce the public beta for renaming a VM. You can try it out by running:
$ gcloud beta compute instances set-name CURRENT_NAME —zone=ZONE —new-name=NEW_NAME
For this first version, you’ll need to stop the VM before you rename it.
More details at the docs here: https://cloud.google.com/compute/docs/instances/rename-instance
As always, feedback welcome. We’re working on GA’ing this feature soon, which will include adding support in the Developer Console UI.Miguel Soto supported this idea ·
An error occurred while saving the commentMiguel Soto commented
This going to never end. Even i can't put a valid FQDN name in my instance. So my hostname have a invalid name.