Skip to content

Instantly share code, notes, and snippets.

@dziad
Created April 19, 2015 19:51
Show Gist options
  • Save dziad/0295389d1afddff25923 to your computer and use it in GitHub Desktop.
Save dziad/0295389d1afddff25923 to your computer and use it in GitHub Desktop.
PuPHPet tunes
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
## 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