udhcpc does work, but it doesn't exist in ELN right now. Let's revert
back to dhcp-client until the upstream cloud-init support for dhcpcd is
ready.
Signed-off-by: Major Hayden <major@redhat.com>
The dhclient binary from the dhcp-client package is no longer
maintained, but it can be replaced by udhcpc which comes from busybox.
Cloud-init already supports both utilities for the early dhcp request.
Fixes rhbz#2247055
Signed-off-by: Major Hayden <major@redhat.com>
Enabling DHCPv6 by default on EC2 leads to instance with broken IPv6
connectivity. AWS provides the IP address via DHCPv6 and SLAAC, but
router advertisements are not accepted if the instance has DHCPv6
configured. The accept_ra value is set to 0.
Removing the `dhcp` option from `ipv6.method` and simply using `auto`
(the default) allows the instance to pick up its IPv6 address and accept
router advertisements from the AWS network.
RHBZ: https://bugzilla.redhat.com/show_bug.cgi?id=2092459
Pagure: https://pagure.io/cloud-sig/issue/382
Upstream: https://bugs.launchpad.net/cloud-init/+bug/1976526?comments=all
Signed-off-by: Major Hayden <major@redhat.com>
Canonical switched to GitHub as their "canonical" source for cloud-init
and the forge macros make RPM maintenance a little simpler.
Signed-off-by: Major Hayden <major@redhat.com>
This lays down a file that sets `no-auto-default=*`, which
tells NetworkManager to not bring up any interfaces by default
without explicit configuration. This causes networking to not
be brought up at all if somehow no NM connection file got created.
This is the first step for rebasing cloud-init to 21.3. All patches are
rebased, old patches that are already on the release were deleted.
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
RHEL default configuration file was on the repo but not listed on the
SRPM. Adding it via patch referenced on the spec file.
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
This is the first step for rebasing cloud-init to 20.4. All patches are
rebased, old patches that are already on the release were deleted.
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
BZ: 1869757
commit 9e3ac98097ed1c7f49ec8975a40aec7229231aae
Author: Louis Bouchard <bouchard.louis@gmail.com>
Date: Wed Jan 29 16:55:09 2020 +0100
Scaleway: Fix DatasourceScaleway to avoid backtrace (#128)
Make sure network_config is created when self._network_config is unset.
Co-authored-by: Scott Moser <smoser@brickies.net>
Signed-off-by: Eduardo Otubo <otubo@redhat.com>
Patch file references from commit 34fecf9a "Backport for CVE-2020-8631
and CVE-2020-8632" were missing on spec file.
Signed-off-by: Eduardo Otubo <otubo@redhat.com>