docker-magento
docker-magento copied to clipboard
New entry in /etc/hosts doesn't get added to new line
Description Per https://courses.m.academy/courses/set-up-magento-2-development-environment-docker/lectures/8974570 there have been a couple reports of this happening:

Steps To Reproduce I have yet to reproduce this on my local machine, however the code should be checked to ensure that the script properly executes on all different types of host OS's.
Expected Result New entries in /etc/hosts get added to new lines
Actual Result New entries in /etc/hosts get added to the last line in the file
Is anyone able to replicate this?
This was reported by a couple users but I'm unable to replicate, will be closing this out shortly.
@markshust i get similar
@Hotpick what is the contents of your /etc/hosts
file on your host machine after running the above line? This ticket is solely for newlines with /etc/hosts
, but your post relates back to not being able to connect to a database.
I'm unable to replicate this, so closing it out.