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
4c3e27a9
Commit
4c3e27a9
authored
Jun 01, 2021
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
xx
parent
d829841a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 addition
and
1 deletion
+1
-1
dracut.module/90metadata-collect/module-setup.sh
dracut.module/90metadata-collect/module-setup.sh
+1
-0
dracut.module/collect-sh-template.mk
dracut.module/collect-sh-template.mk
+0
-1
No files found.
dracut.module/90metadata-collect/module-setup.sh
View file @
4c3e27a9
...
@@ -15,5 +15,6 @@ install() {
...
@@ -15,5 +15,6 @@ install() {
inst
"
$moddir
"
/fluent-bit
"/sbin/fluent-bit"
inst
"
$moddir
"
/fluent-bit
"/sbin/fluent-bit"
inst
"
$moddir
"
/flb.conf
"/etc/flb.conf"
inst
"
$moddir
"
/flb.conf
"/etc/flb.conf"
inst
"
$moddir
"
/out_gstdout.so
"/etc/out_gstdout.so"
inst
"
$moddir
"
/out_gstdout.so
"/etc/out_gstdout.so"
inst
"
$moddir
"
/metadata_collect.log
"/var/log/metadata_collect.log"
inst_hook pre-pivot 10
"
$moddir
"
/collect.sh
inst_hook pre-pivot 10
"
$moddir
"
/collect.sh
}
}
dracut.module/collect-sh-template.mk
View file @
4c3e27a9
...
@@ -12,7 +12,6 @@ ERP5_PASS="$(ERP5_PASS)"
...
@@ -12,7 +12,6 @@ ERP5_PASS="$(ERP5_PASS)"
REFERENCE
=
"COMP-MAC-
$$
(echo "
$$
DEFAULT_IF_MAC
" | sed s/:/-/g).Metadata.Snapshot"
REFERENCE
=
"COMP-MAC-
$$
(echo "
$$
DEFAULT_IF_MAC
" | sed s/:/-/g).Metadata.Snapshot"
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
&
...
...
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