Vagrant communicates with base boxes over SSH. Vagrant itself has a private key, for which we need to install the corresponding public key into the virtual machine. Vagrant expects a specific user with a predefined password to also be within the machine, and the user needs to be configured so that it isn't prompted for the password when attempting to perform actions which require elevated privileges (
Provided we created the Vagrant user during the installation process (as per the main account user and password mentioned earlier), and then we need to create an
admin group and add the Vagrant user to this group.
Firstly, to create the group:
Sudo groupadd admin
To add the Vagrant user to this ...