Skip to content

Commit d4f4680

Browse files
author
root
committed
Fix correct detect_machine.sh.
1 parent 94d611d commit d4f4680

File tree

2 files changed

+3
-124
lines changed

2 files changed

+3
-124
lines changed

tests-dev/detect_machine.sh

Lines changed: 0 additions & 124 deletions
This file was deleted.

tests/detect_machine.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,9 @@ elif [[ -d /scratch3 ]]; then
9696
elif [[ ${mount} =~ "hera" ]]; then
9797
MACHINE_ID=hera
9898
fi
99+
elif [[ -d /home/ubuntu ]]; then
100+
# We are on AMI
101+
MACHINE_ID=ami
99102
elif [[ -d /work ]]; then
100103
# We are on MSU Orion or Hercules
101104
mount=$(findmnt -n -o SOURCE /home)

0 commit comments

Comments
 (0)