Setup DrupalVM quickly

License: MIT

Language: Shell

DrupalVM configuration script

This simple bash script lets you get started with DrupalVM quickly for new projects. It downloads DrupalVM in the current directory and sets up a config.yml based on quick questions. The target is to have an opinionated way to run DrupalVM quickly and efficiently.


Download the script to your working directory or you may place it in your bin directory to run it from anywhere.

$ wget
$ chmod +x

Run the script directly. You may symlink it to one of the directories in your PATH to run it from anywhere. It always works in the current directory.

WARNING: This script immediately clears specific DrupalVM related files in your current directory WITHOUT any confirmations. It only checks for filenames like, Vagrantfile, etc... Please be careful before running the script.

$ ./

You should see an output like this:

Downloading DrupalVM...
Extracting DrupalVM and preparing the directory...
Enter the box: geerlingguy/ubuntu1604
Enter the machine name: drupalvm
Enter the domain name for the host:
Enter the domain name to access the root:
Enter the IP:
Enter the relative path to the Drupal installation: drupalvm/docroot
Enter the PHP version (5.6 or 7.0): 7.0

You may specify any valid values for the above questions. If you don't want to run PHP 7.0 for any reason, make sure you select geerlingguy/ubuntu1404 for the box.

If you are using the vagrant-auto_network plugin, you may use the IP as shown above to let the plugin allocate an IP. When used along with vagrant-hostmanager plugin, it will add entries to your host's /etc/hosts (or equivalent) file.

After running the script, you may edit the default.config.yml or config.yml as you see fit to further customize DrupalVM. Refer to DrupalVM's documentation for more details.

This script was tested with DrupalVM 3.2.0 and should work with DrupalVM 3.x.

Project Statistics

Sourcerank 4
Repository Size 9.77 KB
Stars 4
Forks 2
Watchers 4
Open issues 0
Dependencies 0
Contributors 1
Tags 0
Last updated
Last pushed

Top Contributors See all


Something wrong with this page? Make a suggestion

Last synced: 2016-09-03 05:16:45 UTC

Login to resync this repository