In the lifecycle before_install, i added the following line of command.
sudo echo "127.0.0.1 db.test.mysql" >> /etc/hosts
however, i ran into the error saying “Permission denied”. So is there anyone knowing how to fix it?
btw, i also added
sudo: required, and there were not any other special configs but a few mysql scripts.
appreciate all the help. tks