[pve-devel] [PATCH v2 container 2/2] close #3471: Support for NetworkManager on CentOS.

Dominik Csapak d.csapak at proxmox.com
Thu Jun 17 14:58:54 CEST 2021


On 6/17/21 14:33, Fabian Grünbichler wrote:
> On June 17, 2021 2:28 pm, Dominik Csapak wrote:
>>>    	my $bootproto = '';
>>>    
>>> @@ -213,7 +214,7 @@ sub setup_network {
>>>    	    if ($d->{ip6} eq 'auto') {
>>>    		$data .= "IPV6_AUTOCONF=yes\n";
>>>    	    }
>>> -	    if ($d->{ip6} eq 'dhcp') {
>>> +	    elsif ($d->{ip6} eq 'dhcp') {
>>
>> this change does nothing?
> 
> it changes the condition for the else branch below (previously, ip6 ==
> auto would take it, now it does not - see the bug report).

ah yes thanks^^
stared at it for a few minutes and did not see it...

> 
>>
>>>    		$data .= "DHCPV6C=yes\n";
>>>    	    } else {
>>>    		$data .= "IPV6ADDR=$d->{ip6}\n";
>>> @@ -229,6 +230,15 @@ sub setup_network {
>>>    	    }
>>>    	}





More information about the pve-devel mailing list