-
-
Save zuzuleinen/913e58266087c5658498 to your computer and use it in GitHub Desktop.
Vagrant shell provisioning script to install mysql server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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
https://stackoverflow.com/questions/2462317/bash-syntax-error-redirection-unexpected/2462357#2462357