Updated .gitignore: Added .vagrant directory
Improved postinstall.sh provision script: Functionality moved into separated function