Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
I
initramfs-with-mca
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
initramfs-with-mca
Commits
3e8e3ace
Commit
3e8e3ace
authored
Jun 16, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
installation/automation-script.sh: Fix a bug.
parent
cfdbc4a3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
installation/automation-script.sh
installation/automation-script.sh
+3
-3
No files found.
installation/automation-script.sh
View file @
3e8e3ace
...
...
@@ -25,7 +25,7 @@ FLUENTBIT_PACKAGE_URL=${URL_PATTERN}${FLUENTBIT_PACKAGE_FILE}
FLB_PATH
=
/opt/
${
FLUENTBIT_NAME_AND_VERSION
}
MCA_PATH
=
/opt/
${
MCA_NAME_AND_VERSION
}
FLB_CONF_PATH
=
${
FLB
_PATH
}
/etc/
MCA_CONF_PATH
=
${
MCA
_PATH
}
/etc/
# utility packages
apt
-y
install
${
APT_UTILITY_PACKAGES
}
...
...
@@ -38,7 +38,7 @@ apt -y install ./${MCA_PACKAGE_FILE}
apt
-y
install
./
${
FLUENTBIT_PACKAGE_FILE
}
# temporary: while the fluent-bit packages does not come with its own template file "etc/flb.conf.in"
cat
>
${
FLB
_CONF_PATH
}
flb.conf.in
<<
"
EOF
"
cat
>
${
MCA
_CONF_PATH
}
flb.conf.in
<<
"
EOF
"
[SERVICE]
flush 5
...
...
@@ -60,7 +60,7 @@ cat > ${FLB_CONF_PATH}flb.conf.in << "EOF"
EOF
CONF_REGEX
=
"s|%WENDELIN_REFERENCE%|
${
WENDELIN_REFERENCE
}
|g;s|%WENDELIN_PWD%|
${
WENDELIN_PWD
}
|g"
sed
"
${
CONF_REFEX
}
"
${
FLB_CONF_PATH
}
/flb.conf.in
>
${
FLB
_CONF_PATH
}
/flb.conf
sed
"
${
CONF_REFEX
}
"
${
MCA_CONF_PATH
}
/flb.conf.in
>
${
MCA
_CONF_PATH
}
/flb.conf
### SCAN THE DESIRED DIRECTORIES
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment