Commit 5b489f98 authored by Ophélie Gagnard's avatar Ophélie Gagnard

[WORKS] dracut.module/: Scan $NEWROOT instead of .

parent 4ca5225d
......@@ -9,15 +9,15 @@ MCA_LOG_FILE=/var/log/metadata_collect.log
echo "********** /sbin **********" >> $MCA_LOG_FILE
ls -Rl /sbin >> $MCA_LOG_FILE
#echo "********** /bin **********" >> $MCA_LOG_FILE
echo "********** /bin **********" >> $MCA_LOG_FILE
#ls -Rl /bin >> $MCA_LOG_FILE
echo "********** /etc **********" >> $MCA_LOG_FILE
ls -Rl /etc >> $MCA_LOG_FILE
#echo "********** /lib **********" >> $MCA_LOG_FILE
echo "********** /lib **********" >> $MCA_LOG_FILE
#ls -Rl /lib >> $MCA_LOG_FILE
#/sbin/metadata-collect-agent "$NEWROOT"
/sbin/metadata-collect-agent . /sbin/fluent-bit /etc/libfluentbit_wendelin.so /etc/flb.conf /var/log/metadata_collect.log
/sbin/metadata-collect-agent $NEWROOT /sbin/fluent-bit /etc/libfluentbit_wendelin.so /etc/flb.conf /var/log/metadata_collect.log
#sleep 10 " DEBUG
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