Skip to content

Commit

Permalink
add test for detect://
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Jan 17, 2024
1 parent 86e0eb4 commit e50fb53
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/subroutines
Original file line number Diff line number Diff line change
Expand Up @@ -972,6 +972,8 @@ task_confdir() {
SERVER=$(awk '{if($2 == "/live/image") print $1;}' /proc/mounts | cut -d ':' -f 1)
if [ -n "$SERVER" ]; then
echo "Setting SERVER=$SERVER. Value extracted from NFSROOT."
elif [ "$FAI_CONFIG_SRC" = "detect://" ]; then
:
else
echo "NO SERVER FOUND FOR FAI_CONFIG_SRC"
fi
Expand Down

0 comments on commit e50fb53

Please sign in to comment.