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

Commit

Permalink
Add hostname to hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
runcros committed Jun 24, 2022
1 parent ecd8582 commit d1dbe1e
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 d1dbe1e

Please sign in to comment.