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
80f83ae2
Commit
80f83ae2
authored
Dec 09, 2022
by
Ophélie Gagnard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixup
f8d1e3eb
: do not use "cut".
parent
3de3e8f4
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
dracut.module/90metadata-collect/collect.sh
dracut.module/90metadata-collect/collect.sh
+1
-1
No files found.
dracut.module/90metadata-collect/collect.sh
View file @
80f83ae2
...
...
@@ -4,7 +4,7 @@
source
$NEWROOT
/etc/rapid.space/get-network.sh
SLAPOS_CFG_FILE
=
"
$NEWROOT
"
/etc/opt/slapos/slapos.cfg
WENDELIN_REFERENCE
=
$(
sed
-n
'/computer_id = /p'
"
$SLAPOS_CFG_FILE
"
|
cut
-d
' '
-f3
)
WENDELIN_REFERENCE
=
$(
sed
-n
'/computer_id = /p'
/etc/opt/slapos/slapos.cfg |
sed
's/computer_id = \(.*\)/\1/g'
)
SCAN_FILE
=
/var/log/metadata_collect.log
sed
-i
"s|%SCAN_FILE%|
$SCAN_FILE
|g;s/%WENDELIN_REFERENCE%/
$WENDELIN_REFERENCE
/g;s/%NEWROOT%/
$NEWROOT
/g"
/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