Gurpreet| #1965| Refactored the Vagrant connection into vagrant_functions.sh.