Skip to content
Snippets Groups Projects
Verified Commit dd6f7137 authored by Dominique Marcadet's avatar Dominique Marcadet
Browse files

add hostname in /etc/hosts

parent ca7f2939
No related branches found
No related tags found
No related merge requests found
......@@ -9,4 +9,6 @@ if [ "$2" ]; then
export PASSWORD=$2
fi
echo "$(hostname -I | cut -f2 -d' ') $HOSTNAME" >> /etc/hosts
exec /init
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment