/usr/lib/dracut/modules.d/80fai-autodiscover/module-setup.sh is in fai-nfsroot 5.0.3ubuntu1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #!/bin/bash
check() {
# do not add this module by default
return 255
}
depends() {
echo network
return 0
}
install() {
inst_multiple nmap grep cut sort uniq head nc dialog getent
inst_hook cmdline 40 "$moddir/parse-fai.sh"
inst_hook initqueue/online 95 "$moddir/fai-scan.sh"
}
|