Skip to content

Commit

Permalink
do not test if fai-client but dracut is installed inside nfsroot
Browse files Browse the repository at this point in the history
An ISO need dracut, but fai-client is not needed when creating a live system
  • Loading branch information
Mrfai committed May 31, 2023
1 parent fb817f0 commit adc6e3e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/fai-cd
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ if [ $autodiscover -eq 1 ]; then
target=$ONFSROOT/lib/modules/$rel/kernel
fi

[ -d "$NFSROOT/etc/fai" ] || die 10 "Please create NFSROOT by calling fai-make-nfsroot or fai-setup."
[ -f "$NFSROOT/bin/dracut" ] || die 10 "Please create a NFSROOT that includes dracut."

[ $hidevartmp -eq 1 ] && hidedirs+="/var/tmp"

Expand Down

0 comments on commit adc6e3e

Please sign in to comment.