mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
addons: address: don't reset ip addrgen on dhcp intf
Signed-off-by: Julien Fortin <julien@cumulusnetworks.com>
This commit is contained in:
@@ -770,6 +770,9 @@ class address(moduleBase):
|
||||
# no need to go further during perfmode (boot)
|
||||
return
|
||||
|
||||
if not user_configured_ipv6_addrgen and ifaceobj.addr_method == 'dhcp':
|
||||
return
|
||||
|
||||
if not user_configured_ipv6_addrgen:
|
||||
# if user didn't configure ipv6-addrgen, should we reset to default?
|
||||
user_configured_ipv6_addrgen = self.get_attr_default_value('ipv6-addrgen')
|
||||
|
Reference in New Issue
Block a user