Rename machine


Is it possible to rename a VM?

It is not possible.

Can you share more about your use case, though? That is - why not just create a new machine with the new name (and the same configuration otherwise), and delete the old one?

Thank you for your reply.

I am currently exploring the possibilities of fly.
I usually rename vm or docker to be able to debug more easily. But in fact, it doesn’t directly affect the way the applications work.

Just in case you’re not aware, you can specify the name of the machine when you create it (just not rename it after creation).

Another thing to be aware of is that machines are ephemeral (filesystem state does not persist across restarts, and restarts can happen), so a renamed cloned machine is very, very similar to the original from the perspective of debugging.

I still didn’t understand entirely how you’re using renaming for debugging purposes, so this info may not at all be relevant to you! Please take what is useful and ignore the rest. :slightly_smiling_face:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.