Commit 9727f16d authored by Ophélie Gagnard's avatar Ophélie Gagnard

Read WENDELIN_REFERENCE from the root fs.

parent ff5ec720
...@@ -3,6 +3,7 @@ ...@@ -3,6 +3,7 @@
. /lib/dracut-lib.sh . /lib/dracut-lib.sh
source $NEWROOT/etc/rapid.space/get-network.sh source $NEWROOT/etc/rapid.space/get-network.sh
sed -i "s/%WENDELIN_REFERENCE%/$(cat $NEWROOT/etc/rapid.space/wendelin_reference)/g" /etc/flb.conf
/sbin/metadata-collect-agent $NEWROOT/usr/bin /sbin/fluent-bit /etc/libfluentbit_wendelin.so /etc/flb.conf /var/log/metadata_collect.log /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 rm /var/log/metadata_collect.log
......
...@@ -8,7 +8,6 @@ CERT_NAME ...@@ -8,7 +8,6 @@ CERT_NAME
SERVER_GROUP SERVER_GROUP
WENDELIN_URL WENDELIN_URL
WENDELIN_PWD WENDELIN_PWD
WENDELIN_REFERENCE
DEFAULT_INTERFACE DEFAULT_INTERFACE
DEFAULT_IP DEFAULT_IP
FORMATTED_NETMASK FORMATTED_NETMASK
......
...@@ -6,7 +6,6 @@ export CERT_NAME=db.crt ...@@ -6,7 +6,6 @@ export CERT_NAME=db.crt
export SERVER_GROUP=douai export SERVER_GROUP=douai
#export WENDELIN_URL= #export WENDELIN_URL=
#export WENDELIN_PWD= #export WENDELIN_PWD=
#export WENDELIN_REFERENCE=
#export DEFAULT_INTERFACE= #export DEFAULT_INTERFACE=
#export DEFAULT_ROUTER= #export DEFAULT_ROUTER=
#export DEFAULT_IP= #export DEFAULT_IP=
......
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