forked from canonical/cloud-init
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(dhcp): Add support for dhcpcd (canonical#4746)
- dhcp: rework client api - dhcp/isc-dhclient: consolidate duplicate code paths - distro: make dhcp_client a distro property [1] - distro: make fallback_interface a distro property [1] - cloudstack: simplify "domain-name" and "dhcp-server-identifier" codepaths - scaleway: eliminate unnecessary fallback interface detection - ec2: eliminate old unnecessary pickle attribute check for "fallback_nic"[2] - tests/unittest: new dhcpcd tests - tests/integration: new dhcpcd tests for azure, ec2, gce, and openstack [1] Required because datasource objects can access the Distro attributes but not the other way around. Also this is a very distro-specific codepath and much simplification to the code will be possible as a result of this. [2] This "bug" was never a supported use case. Calling cloud-init manually after upgrade not via the init system isn't supported, but this was "fixed" before the use case was fully understood.
- Loading branch information
Showing
28 changed files
with
1,279 additions
and
657 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.