Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.toolbox
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
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
slapos.toolbox
Commits
cdec2fe6
Commit
cdec2fe6
authored
Feb 10, 2012
by
Cédric Le Ninivin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Ping6 server is know in a variable
parent
08aa29f2
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
+5
-3
slapos/builder/script/slapos
slapos/builder/script/slapos
+5
-3
No files found.
slapos/builder/script/slapos
View file @
cdec2fe6
...
...
@@ -33,16 +33,18 @@ for service in rpcbind network-remotefs postfix ; do
/etc/init.d/
$service
stop
done
IPV6CHECK
=
ipv6.google.com
# Test ipv6 connectivity and if not working use openvpn
# and wait for it to be ready
/etc/init.d/openvpn stop
ping6
-c
2
ipv6.google.com
ping6
-c
2
$IPV6CHECK
if
[[
$?
!=
0
]]
;
then
echo
""" Starting openVPN """
/etc/init.d/openvpn start
ping6
-c
2
ipv6.google.com
ping6
-c
2
$IPV6CHECK
while
[[
$?
!=
0
]]
;
do
ping6
-c
2
ipv6.google.com
ping6
-c
2
$IPV6CHECK
done
# Ask slapos to use openvpn as ipv6 provider
if
[
!
-f
/etc/slapos/openvpn-needed
]
;
then
...
...
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