diff --git a/scripts/drupal-vm/Vagrantfile b/scripts/drupal-vm/Vagrantfile index eb7e8cd1d..45fc71980 100644 --- a/scripts/drupal-vm/Vagrantfile +++ b/scripts/drupal-vm/Vagrantfile @@ -11,3 +11,8 @@ ENV['DRUPALVM_DIR'] = "vendor/geerlingguy/drupal-vm" # Load the real Vagrantfile load "#{__dir__}/#{ENV['DRUPALVM_DIR']}/Vagrantfile" + +# Set up vagrant exec for BLT. +if Vagrant.has_plugin?('vagrant-exec') + config.exec.commands '*', directory: /var/www/${project.machine_name} +end