Commit bfec3383 authored by Guillaume Hervier's avatar Guillaume Hervier

node boot: Fix config option getter for IPv6 interface

parent 93d37131
...@@ -159,8 +159,11 @@ class BootCommand(ConfigCommand): ...@@ -159,8 +159,11 @@ class BootCommand(ConfigCommand):
master_hostname = master_url.hostname master_hostname = master_url.hostname
# Check that we have IPv6 ready # Check that we have IPv6 ready
_waitIpv6Ready(configp.get('slapformat', 'ipv6_interface') or if configp.has_option('slapformat', 'ipv6_interface'):
configp.get('slapformat', 'interface_name')) ipv6_interface = configp.get('slapformat', 'ipv6_interface')
else:
ipv6_interface = configp.get('slapformat', 'interface_name')
_waitIpv6Ready(ipv6_interface)
# Check that node can ping master # Check that node can ping master
if valid_ipv4(master_hostname): if valid_ipv4(master_hostname):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment