In this quick tutorial, we’re going to get through how to change Vagrant virtual machine name in VirtualBox GUI. This will help us identify the VM easily.
By default, Vagrant sets the name of the virtual machine to the containing folder of the Vagrantfile plus a timestamp of when the machine was created, for example:
We can change or customize the name that appears in the VirtualBox GUI by setting the name property, for example:
config.vm.provider "virtualbox" do |v|
v.name = "my-hadoop-single"
Here are other related articles: