← Back to team overview

cloud-init-dev team mailing list archive

[Merge] ~kurt-easygo/cloud-init:fix-network-state-dhcp into cloud-init:master

 

The proposal to merge ~kurt-easygo/cloud-init:fix-network-state-dhcp into cloud-init:master has been updated.

Commit message changed to:

net: append type:dhcp[46] only if dhcp[46] is True in v2 netconfig   
                                                                     
When providing netplan configuration to cloud-init, the internal     
network state would enable DHCP if the 'dhcp' key was present in     
the source config.  In netplan, dhcp[46] is a boolean and the        
value of the boolean should control whether DHCP is enabled rather   
than the presence of the key.  This issue leaded to  inconsistant    
sysconfig/network-scripts on fedora. 'BOOTPROTO' was always 'dhcp',  
even if the address config was static.                               
                                                                     
After this change a dhcp subnet is added only if the 'dhcp' setting  
in source cfg dict is True.                                          
                                                                     
LP: #1818032

For more details, see:
https://code.launchpad.net/~kurt-easygo/cloud-init/+git/cloud-init/+merge/363732
-- 
Your team cloud-init commiters is requested to review the proposed merge of ~kurt-easygo/cloud-init:fix-network-state-dhcp into cloud-init:master.


References