Commit Graph

227 Commits

Author SHA1 Message Date
Miroslav Rezanina
f368903e47 * Mon Apr 22 2024 Miroslav Rezanina <mrezanin@redhat.com> - 24.1.4-1
- Rebase to 24.1.4 [RHEL-33439]
- Resolves: RHEL-33439
  (Update cloud-init on 24.1.4 for RHEL 10)
2024-04-22 09:47:03 +02:00
Major Hayden
562b047220
Switch back to dhcp-client temporarily
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>
2024-02-01 16:17:31 -06:00
Major Hayden
3aa678e2a3
Replace dhcp-client with udhcpc
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>
2024-01-30 10:26:03 -06:00
Fedora Release Engineering
57fa253858 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-24 07:29:49 +00:00
Fedora Release Engineering
445fa35cb7 Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild 2024-01-19 15:41:21 +00:00
František Zatloukal
76f21382f7 Update to 23.4.1 2023-12-22 16:12:27 +01:00
Miroslav Suchý
47cb5137d2 correct SPDX formula
The operator in the formula has to be upper case.
2023-08-11 19:27:08 +00:00
Major Hayden
f782b78536
Update to 23.2.1 2023-07-20 07:55:21 -05:00
Major Hayden
813903c4bd
Add packit config 2023-07-20 07:53:38 -05:00
Fedora Release Engineering
2c96a4975f Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-07-19 15:54:16 +00:00
Python Maint
ae24255998 Rebuilt for Python 3.12 2023-06-29 14:12:51 +02:00
Major Hayden
1ddecd3a8b
Update to 23.2 rhbz#2196523
* Remove patches that now exist upstream
* Switch to rpmautospec
* Fix Python 3.12 build issues
* Remove NM/dhcpd hooks gone from upstream

Signed-off-by: Major Hayden <major@redhat.com>
2023-06-22 09:53:17 -05:00
Major Hayden
ade0931784
Migrate to pyproject-rpm-macros for build requirements
Signed-off-by: Major Hayden <major@redhat.com>
2023-05-17 06:39:43 -05:00
Major Hayden
7721cbf1e2
ec2: Do not enable DHCPv6 on EC2
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>
2023-05-16 13:10:29 -05:00
Yaakov Selkowitz
a96d2826de Disable tests by default in RHEL builds
The test dependencies are unwanted in RHEL, and therefore the tests are
skipped entirely there.  At a minimum, we can at least do an import check.
2023-05-16 11:19:54 -04:00
Major Hayden
0048d9ca86
Update changelog for rhbz#2068529
Signed-off-by: Major Hayden <major@redhat.com>
2023-05-11 17:26:03 -05:00
Major Hayden
4975347240
Allow > 3 nameservers to be used rhbz#2068529
Signed-off-by: Major Hayden <major@redhat.com>
2023-05-11 17:22:09 -05:00
Neal Gompa
253f39a345 Use the correct SourceURL format for the upstream sources
- Switch to SPDX identifiers for the license field
2023-04-30 16:08:21 -04:00
Major Hayden
1cc092f858
Switch to GitHub for upstream source
Upstream has switched to GitHub as their official source now.

Signed-off-by: Major Hayden <major@redhat.com>
2023-04-28 09:03:45 -05:00
Major Hayden
9cfa4f6611
Revert "Use forge source"
This reverts commit 6b3daa415e.

Thanks to Neal for telling me about the forge source pending
deprecation[0]. I was unaware.

[0] https://pagure.io/packaging-committee/pull-request/1270

Signed-off-by: Major Hayden <major@redhat.com>
2023-04-28 09:00:58 -05:00
Major Hayden
6b3daa415e
Use forge source
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>
2023-04-28 08:24:41 -05:00
Major Hayden
e02c303aee
Update to 23.1.2
Also include a fix for CVE-2023-1786 as part of the update.

Signed-off-by: Major Hayden <major@redhat.com>
2023-04-27 16:51:59 -05:00
František Zatloukal
bfa66bdc55 Rebase to 23.1.1 2023-03-23 14:49:12 +01:00
Fedora Release Engineering
d5fe29f525 Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2023-01-19 00:03:44 +00:00
Fedora Release Engineering
f6eff77de1 Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-07-20 23:08:12 +00:00
Python Maint
09237e9ea8 Rebuilt for Python 3.11 2022-06-16 11:27:12 +02:00
Neal Gompa
362173d671 Add dhcp-client dependency for Azure and OCI network bootstrap 2022-06-15 20:06:58 -04:00
Neal Gompa
a32e90573f Rebase to 22.2 2022-05-19 09:44:52 -04:00
Dusty Mabe
f0a6cf49bd
Don't require NetworkManager-config-server
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.
2022-03-10 16:14:24 -05:00
Neal Gompa
c674eb9f57 Drop extra tests search in prep 2022-02-22 08:19:16 -05:00
Neal Gompa
b954b98a1c Rebase to 22.1
- Backport cloud-init PR to add proper NetworkManager support
- Add patch to prefer NetworkManager
2022-02-22 07:30:58 -05:00
Charalampos Stratakis
056ace8925 Remove redundant dependencies on nose and mock 2022-02-16 21:53:44 +00:00
Fedora Release Engineering
73acfde0ff - Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2022-01-19 23:24:15 +00:00
Neal Gompa
eaf729492a Add gdisk and openssl deps to fix UEFI / Azure initialization [bz#1974262] 2021-12-15 04:36:00 -05:00
Neal Gompa
79fa06d5be Backport fix for tests running with new pyyaml 2021-12-15 04:34:06 -05:00
Eduardo Otubo
8045190bad Adding man pages to spec file
BZ: 1952568

Signed-off-by: Eduardo Otubo <otubo@redhat.com>
2021-09-08 11:33:15 +02:00
Eduardo Otubo
f3523f3923 Update to 20.4
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>
2021-09-02 13:29:02 +02:00
Fedora Release Engineering
d614fa1697 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 19:37:46 +00:00
Fedora Release Engineering
35822cabc6 - Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-07-21 14:40:15 +00:00
František Zatloukal
7dd9b2cb7e Fixup collections import on Python 3.10 2021-06-16 10:41:18 +02:00
Python Maint
e339d742fa Rebuilt for Python 3.10 2021-06-04 14:53:55 +02:00
Eduardo Otubo
18967d314e Revert "ssh_util: handle non-default AuthorizedKeysFile config (#586)" (#775)
BZ: 1924588

commit cdc5b81f33aee0ed3ef1ae239e5cec1906d0178a
Author: Daniel Watkins <oddbloke@ubuntu.com>
Date:   Tue Jan 19 12:23:23 2021 -0500

    Revert "ssh_util: handle non-default AuthorizedKeysFile config (#586)" (#775)

    This reverts commit b0e73814db4027dba0b7dc0282e295b7f653325c.

Signed-off-by: Eduardo Otubo <otubo@redhat.com>
2021-02-08 14:17:54 +01:00
Eduardo Otubo
7606c7e70f Adding 'Requires: hostname'
cloud-init requires hostname command to be present it will stack trace,
according to the BZ #1915616.

Signed-off-by: Eduardo Otubo <otubo@redhat.com>
2021-02-04 13:47:37 +01:00
Fedora Release Engineering
1e06a47d15 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2021-01-26 02:08:09 +00:00
Eduardo Otubo
3f1f240525 Adding RHEL default cloud.cfg
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>
2021-01-06 10:00:31 +01:00
Eduardo Otubo
4a0442377f Rebase to 20.4
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>
2020-12-10 18:43:54 +01:00
Eduardo Otubo
f536fb57ea Scaleway: Fix DatasourceScaleway to avoid backtrace (#128)
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>
2020-09-07 15:06:28 +02:00
Eduardo Otubo
9f56f665cd Patch references missing on spec file
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>
2020-09-07 14:57:03 +02:00
Fedora Release Engineering
ba9b42d1a8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2020-07-27 14:08:15 +00:00
Miro Hrončok
bfe9c0243e Rebuilt for Python 3.9 2020-05-25 20:26:32 +02:00