Commit 3c663ff5 authored by Andrew Ladlow's avatar Andrew Ladlow
Browse files

mysql: Create .mysql.hash file for internal tests

parent e5604bd4
#!/bin/bash
#
# Hash password "semiconscious malpractice" and store in .mysql.hash file
#
echo "semiconscious malpractice" | ruby -n -rdigest -e \
'puts Digest::SHA1.hexdigest(Digest::SHA1.digest($_.chomp)).upcase' > \
/etc/first-boot.d/.mysql.hash
chmod 0600 /etc/first-boot.d/.mysql.hash
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment