Commit 19baa8be authored by Ophélie Gagnard's avatar Ophélie Gagnard

dracut.module: fixup Support WENDELIN_REFERENCE and Support WENDELIN_USER.

parent 2954cb2a
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
source $NEWROOT/etc/rapid.space/get-network.sh source $NEWROOT/etc/rapid.space/get-network.sh
WENDELIN_REFERENCE=$(cat $NEWROOT/etc/rapid.space/wendelin_reference) WENDELIN_REFERENCE=$(cat $NEWROOT/etc/rapid.space/wendelin_reference)
WENDELIN_USER=$(cat $NEWROOT/etc/rapid.space/wendelin_user) WENDELIN_USER=$(cat $NEWROOT/etc/rapid.space/wendelin_user)
sed -i "s/%WENDELIN_REFERENCE%/$WENDELIN_REFERNCE/g;s/%WENDELIN_USER%/$WENDELIN_USER/g" /etc/flb.conf sed -i "s/%WENDELIN_REFERENCE%/$WENDELIN_REFERENCE/g;s/%WENDELIN_USER%/$WENDELIN_USER/g" /etc/flb.conf
log_file=/var/log/metadata_collect.log log_file=/var/log/metadata_collect.log
timestamp_cmd='date +"%Y/%m/%d %H:%M %Z"' timestamp_cmd='date +"%Y/%m/%d %H:%M %Z"'
......
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