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
eefda9e0
Commit
eefda9e0
authored
Aug 19, 2022
by
Joanne Hugé
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update ors scripts
parent
448c0ab9
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
scripts/ors/3-setup-playbook
scripts/ors/3-setup-playbook
+1
-1
scripts/ors/5-configure-re6st
scripts/ors/5-configure-re6st
+1
-3
No files found.
scripts/ors/3-setup-playbook
View file @
eefda9e0
#!/bin/bash
cd
slapos.package/playbook
;
cd
~/
slapos.package/playbook
;
ansible-playbook
-i
hosts ors.yml
;
ansible-playbook
-i
hosts ors-upgrade.yml
;
...
...
scripts/ors/5-configure-re6st
View file @
eefda9e0
...
...
@@ -3,6 +3,4 @@ CONF="/etc/re6stnet/re6stnet.conf"
IFACE
=
"
$(
ip route |
grep
default |
sed
's/.*dev \(\w*\)\( .*$\|$\)/\1/g'
)
"
sed
-i
'/^interface/d'
$CONF
echo
"interface
$IFACE
"
>>
$CONF
if
!
ps
-ax
-o
cmd |
grep
babeld |
grep
-q
$IFACE
;
then
systemctl restart re6stnet
;
fi
systemctl stop re6stnet
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