core-base icon indicating copy to clipboard operation
core-base copied to clipboard

writable-paths: add /var/lib/dhcpcd writable-paths for datasource discovery

Open blackboxsw opened this issue 1 year ago • 2 comments

If dhcpcd is installed in a cloud image, cloud-init may attempt early datasource discovery using dhcpcd in order to get information about active instance metadata service IP addresses and routes. The dhcpcd client writes out leases which cloud-init parses under /var/lib/dhcpcd.

Add this support so cloud-init can detect network-bound datasources such as Azure, Ec2 and GCE.

blackboxsw avatar Jul 16 '24 18:07 blackboxsw

@blackboxsw would you mind proposing also to the core24 branch? We already forked.

alfonsosanchezbeato avatar Jul 22 '24 13:07 alfonsosanchezbeato

Thanks @alfonsosanchezbeato. reset the root upstream/core24 and rebased my changeset on top.

blackboxsw avatar Jul 25 '24 02:07 blackboxsw

@blackboxsw please propose also to main branch

alfonsosanchezbeato avatar Aug 21 '24 14:08 alfonsosanchezbeato

@blackboxsw please propose also to main branch

Thanks @alfonsosanchezbeato just pushed https://github.com/canonical/core-base/pull/237 for a PR against main as well.

blackboxsw avatar Aug 22 '24 04:08 blackboxsw