Instalação silenciosa do MySQL 5.7 no Ubuntu 16

echo "mysql-server mysql-server/root_password password $MYSQL_ROOT_PASSWORD" | debconf-set-selections
echo
"mysql-server mysql-server/root_password_again password $MYSQL_ROOT_PASSWORD" | debconf-set-selections
apt
-y install mysql-server
usermod
-d /var/lib/mysql/ mysql