Skip to content

Commit

Permalink
add test is fai-diskimage is called
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrfai committed Dec 12, 2023
1 parent a0c5815 commit 7d0ef11
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions lib/subroutines
Original file line number Diff line number Diff line change
Expand Up @@ -1298,6 +1298,11 @@ task_chboot() {

[ -z "$LOGUSER" ] && return # silently return from subroutine

# do not execute for fai-diskimage
if [[ $FAI_ROOT =~ '/fai-diskimage.' ]]; then
return
fi

local frsh remotesh hostname
local doexit=0
read hostname < /proc/sys/kernel/hostname
Expand Down

0 comments on commit 7d0ef11

Please sign in to comment.