A simple test playground for CentOS 7.
- Hypervisor: Parallels Desktop
- Guest OS: CentOS 7 (bento/centos-7)
-
(Optional) Un-comment
vagrant-hostmanager
settings inVagrantfile
.config.hostmanager.manage_host = true
-
(Optional) Setup
vagrant-hostmanager
Passwordless sudo. -
Spin up Vagrant guest:
vagrant up
SSH login to Vagrant guest:
vagrant ssh
or:
ssh vagrant@<vagrant-guest-hostname> \
-i .vagrant/machines/<vagrant-guest-hostname>/parallels/private_key
# e.g.
# ssh vagrant@playground-centos7 \
# -i .vagrant/machines/playground-centos7/parallels/private_key
-
Edit variable
HOST_NAME
inVagrantfile
to a proper VM name. -
Update hosts managed by
vagrant-hostmanager
:vagrant hostmanager