Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.core
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
1
Merge Requests
1
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
Romain Courteaud
slapos.core
Commits
505ce5f5
Commit
505ce5f5
authored
Nov 29, 2018
by
Thomas Gambier
🚴🏼
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUGFIX: use ipv6_interface if available
parent
aa8c5d84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
2 deletions
+5
-2
slapos/cli/boot.py
slapos/cli/boot.py
+5
-2
No files found.
slapos/cli/boot.py
View file @
505ce5f5
...
...
@@ -155,11 +155,14 @@ class BootCommand(ConfigCommand):
def
take_action
(
self
,
args
):
configp
=
self
.
fetch_config
(
args
)
instance_root
=
configp
.
get
(
'slapos'
,
'instance_root'
)
interface_name
=
configp
.
get
(
'slapformat'
,
'interface_name'
)
master_url
=
urlparse
.
urlparse
(
configp
.
get
(
'slapos'
,
'master_url'
))
master_hostname
=
master_url
.
hostname
# Check that we have IPv6 ready on interface_name
# Check that we have IPv6 ready
if
configp
.
get
(
'slapformat'
,
'ipv6_interface'
):
interface_name
=
configp
.
get
(
'slapformat'
,
'ipv6_interface'
)
else
:
interface_name
=
configp
.
get
(
'slapformat'
,
'interface_name'
)
_waitIpv6Ready
(
interface_name
)
# Check that node can ping master
...
...
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