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
b351ff81
Commit
b351ff81
authored
Jun 01, 2021
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
4c3e27a9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
dracut.module/collect-sh-template.mk
dracut.module/collect-sh-template.mk
+3
-2
No files found.
dracut.module/collect-sh-template.mk
View file @
b351ff81
...
...
@@ -21,10 +21,11 @@ REFERENCE="COMP-MAC-$$(echo "$$DEFAULT_IF_MAC" | sed s/:/-/g).Metadata.Snapshot"
echo "[2020
:
2122222]" >> /var/log/metadata_collect.log
echo "[2020
:
1234232]" >> /var/log/metadata_collect.log
fluent_bit_is_running
=
"
$$
(ps -ef | grep "
fluent-bit
" | grep -v "
grep
")"
echo
$${fluent_bit_is_running}
while
[
-z
"$${fluent_bit_is_running}"
];do
sleep
(5)
sleep
10
fluent_bit_is_running
=
"
$$
(ps -ef | grep "
fluent-bit
" | grep -v "
grep
")"
echo
$${fluent_bit_is_running}
done
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