Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
metadata-collect-agent
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
Xiaowu Zhang
metadata-collect-agent
Commits
d829841a
Commit
d829841a
authored
Jun 01, 2021
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
try to run
parent
1a951adb
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
dracut.module/collect-sh-template.mk
dracut.module/collect-sh-template.mk
+2
-1
No files found.
dracut.module/collect-sh-template.mk
View file @
d829841a
...
@@ -16,7 +16,7 @@ touch /var/log/metadata_collect.log
...
@@ -16,7 +16,7 @@ touch /var/log/metadata_collect.log
/sbin/fluent-bit
-e
/etc/out_gstdout.so
-c
/etc/flb.conf
&
/sbin/fluent-bit
-e
/etc/out_gstdout.so
-c
/etc/flb.conf
&
#
/sbin/metadata-collect-agent "$$NEWROOT" "$$ERP5_USER" "$$ERP5_PASS" "$$REFERENCE" "$$ERP5_BASE_URL"
/sbin/metadata-collect-agent
"$$NEWROOT"
"$$ERP5_USER"
"$$ERP5_PASS"
"$$REFERENCE"
"$$ERP5_BASE_URL"
echo "[2020
:
2122222]" >> /var/log/metadata_collect.log
echo "[2020
:
2122222]" >> /var/log/metadata_collect.log
...
@@ -25,6 +25,7 @@ fluent_bit_is_running="$$(ps -ef | grep "fluent-bit" | grep -v "grep")"
...
@@ -25,6 +25,7 @@ fluent_bit_is_running="$$(ps -ef | grep "fluent-bit" | grep -v "grep")"
while
[
-z
"$${fluent_bit_is_running}"
];do
while
[
-z
"$${fluent_bit_is_running}"
];do
sleep(5)
sleep(5)
fluent_bit_is_running
=
"
$$
(ps -ef | grep "
fluent-bit
" | grep -v "
grep
")"
done
done
endef
endef
...
...
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