Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
ors-utils
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
Boxiang Sun
ors-utils
Commits
36263fb3
Commit
36263fb3
authored
Jul 22, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set partition amount to 20
parent
83f4a3b1
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
scripts/6-setup-re6st-slapos
scripts/6-setup-re6st-slapos
+2
-1
No files found.
scripts/6-setup-re6st-slapos
View file @
36263fb3
...
...
@@ -3,5 +3,6 @@ SLAPOS_CFG_FILE="/etc/opt/slapos/slapos.cfg"
mkdir
-p
/opt/amarisoft/.amarisoft
&&
cp
-r
~/.amarisoft/
*
/opt/amarisoft/.amarisoft/
;
ip
-6
a show dev lo |
grep
"::1/"
|
grep
2001
||
bash /root/re6st
;
stat
$SLAPOS_CFG_FILE
||
slapos node
||
bash /root/slapos
;
grep
"create_tun"
$SLAPOS_CFG_FILE
||
sed
-i
's/create_tap = False/create_tap = False\ncreate_tun = True/g'
$SLAPOS_CFG_FILE
;
grep
-q
"create_tun"
$SLAPOS_CFG_FILE
||
sed
-i
's/create_tap = False/create_tap = False\ncreate_tun = True/g'
$SLAPOS_CFG_FILE
;
sed
-i
's/partition_amount.*/partition_amount = 20/g'
/etc/opt/slapos/slapos.cfg
;
ip l show dev slaptun0
||
slapos node format
--now
;
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