Provisioning Server and setup Vagrant on CentOS 7


Originally published at:

Do you want to understand how to setup Vagrant on CentOS7 so that we can create virtual machines? Getting Server (we will be signing up for OVH and rent out a server) Setup Centos7 using original kernel Configure Remote Desktop so that we can use browser on the host and access services Setup Vagrant and…


Quick clarification please :-

Update /etc/fstab devpts entry
Comment out existing devpts entry
Add this devpts /dev/pts devpts gid=5,mode=620 0 0
Remount devpts – mount -o remount /dev/pts

Do we need to include the above steps in CentOS 7 servers taken from AWS EC2, because the EC2 fstab entry looks a bit different from OVH
see below :-1:

[root@ip-172-31-35-25 ~]# cat /etc/fstab


Created by anaconda on Tue Jun 5 14:06:12 2018

Accessible filesystems, by reference, are maintained under ‘/dev/disk’

See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info

UUID=8c1540fa-e2b4-407d-bcd1-59848a73e463 / xfs defaults 0 0



You should comment the devpts path if it is available in the /etc/fstab. As you are using EC2 instance you will not find the devpts file there. So you no need to worry about that line while you setup vagrant using EC2 instances.