Skip to content

Instantly share code, notes, and snippets.

@zuzuleinen
Forked from benwynn/vagrant-hybrisdev-mysql.sh
Created December 1, 2015 14:36
Show Gist options
  • Save zuzuleinen/913e58266087c5658498 to your computer and use it in GitHub Desktop.
Save zuzuleinen/913e58266087c5658498 to your computer and use it in GitHub Desktop.
Vagrant shell provisioning script to install mysql server
#!/bin/bash
debconf-set-selections <<< 'mysql-server mysql-server/root_password password vagrant'
debconf-set-selections <<< 'mysql-server mysql-server/root_password_again password vagrant'
apt-get update
apt-get install -y mysql-server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment