Adding in check of the vagrant configuration before performing a restart