Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.package
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
Arnaud Véron
slapos.package
Commits
1c02ea34
Commit
1c02ea34
authored
Sep 27, 2023
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
playbook/bbu: fix configure-sudoers
parent
9325ff43
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletion
+2
-1
playbook/roles/bbu/files/configure-sudoers
playbook/roles/bbu/files/configure-sudoers
+1
-0
playbook/sha256sum
playbook/sha256sum
+1
-1
No files found.
playbook/roles/bbu/files/configure-sudoers
View file @
1c02ea34
#!/bin/bash
#!/bin/bash
mkdir
-p
/etc/sudoers.d
COMMAND_LIST
=(
"rm-tmp-lte"
"init-enb"
"init-sdr"
"get-sdr-info"
)
COMMAND_LIST
=(
"rm-tmp-lte"
"init-enb"
"init-sdr"
"get-sdr-info"
)
PARTITION_AMOUNT
=
"
$(
sed
-n
's/partition_amount = \(.*\)/\1/gp'
/etc/opt/slapos/slapos.cfg
)
"
PARTITION_AMOUNT
=
"
$(
sed
-n
's/partition_amount = \(.*\)/\1/gp'
/etc/opt/slapos/slapos.cfg
)
"
for
c
in
"
${
COMMAND_LIST
[@]
}
"
;
do
for
c
in
"
${
COMMAND_LIST
[@]
}
"
;
do
...
...
playbook/sha256sum
View file @
1c02ea34
8df60f2f0c5c3c5eec736dc6274af83bd056222895d4381abc9a8f3c6a63e367
-
751552b93968a47d6f9f4c637a577fc65be5bfb6755b841c9dd6bdc0b06c8f3e
-
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