Created
April 19, 2015 19:51
-
-
Save dziad/0295389d1afddff25923 to your computer and use it in GitHub Desktop.
PuPHPet tunes
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
synced_folder: | |
HDl5y4bSeec5: | |
owner: '' | |
group: '' | |
source: ~/.ssh | |
target: /host-ssh | |
sync_type: 'default' | |
rsync: | |
auto: 'false' | |
mysql: | |
install: '1' | |
root_password: '123' | |
adminer: 0 | |
databases: { } | |
override_options: | |
mysqld: | |
bind-address: 0.0.0.0 | |
skip-grant-tables: true | |
character-set-server: utf8 | |
collation-server: utf8_general_ci |
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
## put this file in puphet/files/startup-always/ | |
#!/bin/bash | |
HOME="/home/vagrant" | |
rsync -azP --exclude "known_hosts" /host-ssh/ $HOME/.ssh | |
chown -R vagrant:vagrant $HOME/.ssh | |
find $HOME/.ssh -type d | xargs chmod 700 | |
find $HOME/.ssh -type f | xargs chmod 600 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment