Update default.rb

This commit is contained in:
Axel 2021-03-02 14:06:30 +01:00 committed by GitHub
parent 8f95f8f8b8
commit bfc48b1583
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -158,10 +158,6 @@ template '/etc/mysql/mariadb.conf.d/50-server.cnf' do
source 'mysql-50-server.cnf'
end
execute 'mysql_change_user' do
user 'root'
command: "/bin/sed -i 's/^\(user\s*=\s*\).*$/\1vagrant/' /etc/mysql/my.cnf"
end
directory '/var/run/mysqld' do
user 'root'