Skip to content

Instantly share code, notes, and snippets.

@jmolivas jmolivas/Vagrantfile.local
Last active Apr 18, 2018

What would you like to do?
Executing DrupalConsole commands on a project with DrupalVM using vagrant-exec plugin no need to create a site alias configuration or ssh into the VM. Project file is config/Vagrantfile.local
vagrant exec bin/drupal generate:module
vagrant plugin install vagrant-exec
if Vagrant.has_plugin?('vagrant-exec')
config.exec.commands '*', directory: '/var/www/drupal'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.