Skip to content
This repository has been archived by the owner on Apr 17, 2024. It is now read-only.

Commit

Permalink
Merge pull request #237 from runcros/add-hostname-to-hosts
Browse files Browse the repository at this point in the history
[bug] Add hostname to hosts
  • Loading branch information
MilkyDeveloper authored Jun 24, 2022
2 parents 53568b1 + 4e626d7 commit 2a7ee08
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,9 @@ EOF

sudo cp hostname ${MNT}/etc/

# Set the hostname in hosts
sudo sed -i "1a\\127.0.1.1 ${BREATH_HOST}" ${MNT}/etc/hosts

# Install all utility files in the bin directory
cd $ORIGINAL_DIR
sudo chmod 755 bin/*
Expand Down

0 comments on commit 2a7ee08

Please sign in to comment.