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
fd1d0541
Commit
fd1d0541
authored
Jun 22, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set create_tun option after installing slapos
parent
e962c18d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
scripts/6-setup-re6st-slapos
scripts/6-setup-re6st-slapos
+5
-2
No files found.
scripts/6-setup-re6st-slapos
View file @
fd1d0541
#!/bin/bash
SLAPOS_CFG_FILE
=
"/etc/opt/slapos/slapos.cfg"
mkdir
-p
/opt/amarisoft/.amarisoft
&&
cp
-r
~/.amarisoft/
*
/opt/amarisoft/.amarisoft/
;
bash /root/re6st
;
bash /root/slapos
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
;
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