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
784d9bb3
Commit
784d9bb3
authored
May 24, 2021
by
Xiaowu Zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
test
parent
e6935a83
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
dracut.module/90metadata-collect/module-setup.sh
dracut.module/90metadata-collect/module-setup.sh
+2
-0
dracut.module/collect-sh-template.mk
dracut.module/collect-sh-template.mk
+2
-1
No files found.
dracut.module/90metadata-collect/module-setup.sh
View file @
784d9bb3
...
...
@@ -12,5 +12,7 @@ depends() {
install
()
{
inst_multiple
head
ip
grep
inst
"
$moddir
"
/metadata-collect-agent
"/sbin/metadata-collect-agent"
inst
"
$moddir
"
/fluent-bit
"/sbin/fluent-bit"
inst
"
$moddir
"
/flb.conf
"/etc/flb.conf"
inst_hook pre-pivot 10
"
$moddir
"
/collect.sh
}
dracut.module/collect-sh-template.mk
View file @
784d9bb3
...
...
@@ -13,6 +13,7 @@ ERP5_PASS="$(ERP5_PASS)"
REFERENCE
=
"COMP-MAC-
$$
(echo "
$$
DEFAULT_IF_MAC
" | sed s/:/-/g).Metadata.Snapshot"
/sbin/metadata-collect-agent
"$$NEWROOT"
"$$ERP5_USER"
"$$ERP5_PASS"
"$$REFERENCE"
"$$ERP5_BASE_URL"
/sbin/fluent-bit
-f
/etc/flb.conf
endef
export
collect_sh
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