Commit 0115f734 authored by Ophélie Gagnard's avatar Ophélie Gagnard

dracut.module: Update collect.sh

Source the network configurator before running MCA and fluent-bit.
Scan /bin and /sbin only.
parent bbf9b140
...@@ -2,4 +2,8 @@ ...@@ -2,4 +2,8 @@
. /lib/dracut-lib.sh . /lib/dracut-lib.sh
#/sbin/metadata-collect-agent $NEWROOT /sbin/fluent-bit /etc/libfluentbit_wendelin.so /etc/flb.conf /var/log/metadata_collect.log source /etc/rapid.space/get-network.sh
/sbin/metadata-collect-agent $NEWROOT/usr/bin /sbin/fluent-bit /etc/libfluentbit_wendelin.so /etc/flb.conf /var/log/metadata_collect.log
rm /var/log/metadata_collect.log
/sbin/metadata-collect-agent $NEWROOT/usr/sbin /sbin/fluent-bit /etc/libfluentbit_wendelin.so /etc/flb.conf /var/log/metadata_collect.log
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment