Skip to content

Commit

Permalink
Remove useless line in ./run_demo.shh
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisburr committed Sep 12, 2023
1 parent fb44d2f commit b3f0bd1
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion run_demo.sh
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ echo "${pkg_names[@]}"

machine_hostname=$(hostname | tr '[:upper:]' '[:lower:]')
if ! check_hostname "${machine_hostname}"; then
machine_system=$(uname -s)
machine_hostname=$(ifconfig | grep 'inet ' | grep -v '127' | awk '{ print $2 }' | head -n 1 | cut -d '/' -f 1)
if ! check_hostname "${machine_hostname}"; then
echo "Failed to find an appropriate hostname for the demo."
Expand Down

0 comments on commit b3f0bd1

Please sign in to comment.