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:
1 2 3 |
config.vm.provider "virtualbox" do |v| v.name = "my-hadoop-single" end |
Here are other related articles:
Set Name, Number of CPUs, Memory and GUI Mode for Vagrant Virtual Machines
Running Vagrant SSH on Windows
How to Add a Vagrant Box from Local or Remote
Where Does Vagrant Store Its Boxes After Downloading?
Copy Files and Folders From Host To Guest In Vagrant