SHA256
1
0
forked from pool/cloud-init
Commit Graph

333 Commits

Author SHA256 Message Date
Ana Guerrero
3c7c6e256e Accepting request 1181325 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1181325
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=102
2024-06-17 17:27:15 +00:00
d05d826927 Accepting request 1180876 from home:mcalabkova:branches:Cloud:Tools
- remove dependency on /usr/bin/python3 via using the macros (bsc#1212476)

OBS-URL: https://build.opensuse.org/request/show/1180876
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=235
2024-06-17 13:23:19 +00:00
Ana Guerrero
c05d6e2f74 Accepting request 1179854 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1179854
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=101
2024-06-11 16:27:02 +00:00
b1fd5494a3 fix patch syntax
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=234
2024-06-03 20:07:50 +00:00
9bf9eed94a - Add cloud-init-skip-rename.patch (bsc#1219680)
+ Brute force appraoch to skip renames if the device is already present

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=233
2024-06-03 19:58:00 +00:00
Dominique Leuenberger
84c6e02742 Accepting request 1172791 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1172791
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=100
2024-05-11 16:18:44 +00:00
bb16d71b80 - Add cloud-init-usr-sudoers.patch (bsc#1223469)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=232
2024-05-01 16:48:39 +00:00
0f2040809b - Add cloud-init-usr-sudoers.patch (bsc#12223469)
+ Handle the existence of /usr/etc/sudoers to search for the expected
    include location

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=231
2024-04-29 22:20:56 +00:00
Dominique Leuenberger
fff63196cf Accepting request 1168393 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1168393
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=99
2024-04-17 12:45:19 +00:00
b76642396e - Update cloud-init-no-openstack-guess.patch
+ Do not enable cloud-init on systems where there is no DMI just
    because no data source has been found. No data source means
    cloud-init will not run.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=230
2024-04-09 16:09:39 +00:00
c9dc72d3d4 - Add cloud-init-no-nmcfg-needed.patch (bsc#1221726)
+ Do not require a NetworkManager config file in order to detect
    NetworkManager as the renderer

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=229
2024-04-05 18:16:25 +00:00
8513308875 add comment w.r.t patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=228
2024-04-05 16:26:00 +00:00
1475962d05 - Add cloud-init-no-openstack-guess.patch (bsc#1222113)
+ Do not guess if we are running on OpenStack or not. Only recognize
    the known markers and enable cloud-init if we know for sure.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=227
2024-04-05 15:21:59 +00:00
Ana Guerrero
cade3403b4 Accepting request 1163386 from Cloud:Tools
- Add  cloud-init-ds-deterministic.patch (bsc#1221132)
  + Do not guess a data source when checking for a CloudStack
    environment

OBS-URL: https://build.opensuse.org/request/show/1163386
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=98
2024-03-29 12:09:29 +00:00
6c1af59408 - Add cloud-init-ds-deterministic.patch (bsc#1221132)
+ Do not guess a data source when checking for a CloudStack
    environment

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=226
2024-03-28 12:25:09 +00:00
Dominique Leuenberger
06f0391ead Accepting request 1155557 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1155557
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=97
2024-03-07 17:27:47 +00:00
4cb93758a3 Accepting request 1155472 from home:fcrozat:branches:Cloud:Tools
- Hardcode distribution to suse for proper cloud.cfg generation
  (bsc#1220132).

OBS-URL: https://build.opensuse.org/request/show/1155472
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=225
2024-03-06 13:00:56 +00:00
Ana Guerrero
e17e51b4cf Accepting request 1152513 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1152513
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=96
2024-02-28 18:44:31 +00:00
a46ffe0388 - Prepare for RPM 4.20 switch patch syntax
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=224
2024-02-20 20:29:52 +00:00
Ana Guerrero
2bf1ee4ee3 Accepting request 1142867 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1142867
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=95
2024-01-31 22:53:26 +00:00
77d6307bc5 - Add cloud-init-pckg-reboot.patch (boo#1198533, bsc#1218952, jsc#SMO-326)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=223
2024-01-23 19:21:05 +00:00
c503a930f3 - Add cloud-init-skip-empty-conf.patch
+ Skip tests with empty config

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=222
2024-01-20 09:21:57 +00:00
204408f666 - Add cloud-init-pckg-reboot.patch (boo#1198533, bsc#1218952)
+ Support reboot on package update/upgrade via the cloud-init config

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=221
2024-01-19 19:21:21 +00:00
Ana Guerrero
7e0ec650d8 Accepting request 1133887 from Cloud:Tools
- Switch build dependency to the generic distribution-release package

OBS-URL: https://build.opensuse.org/request/show/1133887
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=94
2023-12-19 22:15:31 +00:00
b6c114b78d - Switch build dependency to the generic distribution-release package
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=220
2023-12-15 14:10:22 +00:00
Ana Guerrero
8330229f84 Accepting request 1132673 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1132673
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=93
2023-12-13 17:34:05 +00:00
Ana Guerrero
62347769ec Accepting request 1130860 from Cloud:Tools
OBS-URL: https://build.opensuse.org/request/show/1130860
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=92
2023-12-05 16:02:51 +00:00
79604ae082 - Move fdupes call back to %install (boo#1214169)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=219
2023-12-05 12:39:22 +00:00
a2411d9328 Accepting request 1130364 from home:mvyskocil:branches:Cloud:Tools
- Move fdupes call back to %install

It looked as an error during an update and it makes a little sense to deduplicate the package in %post. Moved (back) to %install.

The existing package is not installable on my MicroOS system, so failing the transactional-update.
```
(50/54) Installing: cloud-init-23.3-1.1.aarch64 [.......
/var/tmp/rpm-tmp.MzH9hQ: line 4: /usr/lib/rpm/fdupes_wrapper: No such file or directory
warning: %post(cloud-init-23.3-1.1.aarch64) scriptlet failed, exit status 127
.done]
```

OBS-URL: https://build.opensuse.org/request/show/1130364
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=218
2023-12-04 22:36:59 +00:00
Ana Guerrero
bb6ef29f74 Accepting request 1130563 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1130563
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=91
2023-12-04 22:00:45 +00:00
189bd13cf0 - Update to version 23.3 (bsc#1216011, bsc#1215794, bsc#1215740)
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=217
2023-11-26 11:59:39 +00:00
Ana Guerrero
baff025f5c Accepting request 1128348 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1128348
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=90
2023-11-23 20:38:38 +00:00
eed84a210f - Update to version 23.3 (bsc#1216011, bsc#1215794)
+ Remove patches included upstream:
    - cloud-init-fix-ca-test.patch
    - cloud-init-cve-2023-1786-redact-instance-data-json-main.patch
    - cloud-init-power-rhel-only.patch
    - cloud-init-flake8-fixes.patch
  + Add
    - cloud-init-keep-flake.patch
    - cloud-init-lint-fixes.patch
  + Update
    - cloud-init-write-routes.patch (bsc#1216007)
  + Bump pycloudlib to 1!5.1.0 for ec2 mantic daily image support (#4390)
  + Fix cc_keyboard in mantic (LP: #2030788)
  + ec2: initialize get_instance_userdata return value to bytes (#4387)
    [Noah Meyerhans]
  + cc_users_groups: Add doas/opendoas support (#4363) [dermotbradley]
  + Fix pip-managed ansible
  + status: treat SubState=running and MainPID=0 as service exited
  + azure/imds: increase read-timeout to 30s (#4372) [Chris Patterson]
  + collect-logs fix memory usage (SC-1590) (#4289)
    [Alec Warren] (LP: #1980150)
  + cc_mounts: Use fallocate to create swapfile on btrfs (#4369) [王煎饼]
  + Undocument nocloud-net (#4318)
  + feat(akamai): add akamai to settings.py and apport.py (#4370)
  + read-version: fallback to get_version when git describe fails (#4366)
  + apt: fix cloud-init status --wait blocking on systemd v 253 (#4364)
  + integration tests: Pass username to pycloudlib (#4324)
  + Bump pycloudlib to 1!5.1.0 (#4353)
  + cloud.cfg.tmpl: reorganise, minimise/reduce duplication (#4272)
    [dermotbradley]

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=216
2023-11-16 13:51:30 +00:00
60d88ce573 - Revert chnages from previous commit
+ Disabling checks the primary maintainer enabled for specific reasons
    is not a fix.

- update to 23.1.2:
  * Make user/vendor data sensitive and remove log permissions
  * source: Force OpenStack when it is only option (#2045)
  * sources/azure: fix regressions in IMDS behavior
- drop 
  cloud-init-cve-2023-1786-redact-instance-data-json-main.patch (upstream)
- spec-file cleanups, including dropping flake8 (as build fails
  with newer flake8 versions)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=215
2023-10-09 14:24:26 +00:00
Dominique Leuenberger
32d6bc0624 Accepting request 1103818 from Cloud:Tools
- update to 23.1.2:
  * Make user/vendor data sensitive and remove log permissions
  * source: Force OpenStack when it is only option (#2045)
  * sources/azure: fix regressions in IMDS behavior
- drop 
  cloud-init-cve-2023-1786-redact-instance-data-json-main.patch (upstream)
- spec-file cleanups, including dropping flake8 (as build fails
  with newer flake8 versions)

OBS-URL: https://build.opensuse.org/request/show/1103818
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=89
2023-08-14 20:35:06 +00:00
d9ca574560 - Add cloud-init-flake8-fixes.patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=214
2023-08-14 12:26:25 +00:00
cbf3b8acd4 - reset to SLE version and keep flake enabled
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=213
2023-08-14 10:54:59 +00:00
131faa9cb9 - drop
cloud-init-cve-2023-1786-redact-instance-data-json-main.patch (upstream)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=212
2023-08-14 09:09:31 +00:00
59f356a421 OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=211 2023-08-14 07:13:18 +00:00
e3b9ff315d - update to 23.1.2:
* Make user/vendor data sensitive and remove log permissions
  * source: Force OpenStack when it is only option (#2045)
  * sources/azure: fix regressions in IMDS behavior
- drop cloud-init-cve-2023-1786-redact-inst-data.patch (upstream)
- spec-file cleanups, including dropping flake8 (as build fails
  with newer flake8 versions)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=210
2023-08-13 21:04:19 +00:00
Dominique Leuenberger
c4435ac5c3 Accepting request 1098540 from Cloud:Tools
Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1098540
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=88
2023-07-18 19:53:44 +00:00
fafa1082aa - Update cloud-init-write-routes.patch (bsc#1212879)
+ Add necessary import statement
- Enable flake8 linting, fix up patches
  + cloud-init-cve-2023-1786-redact-instance-data-json-main.patch
  + cloud-init-power-rhel-only.patch
  + cloud-init-write-routes.patch
  + datasourceLocalDisk.patch

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=209
2023-07-06 12:09:02 +00:00
5142b4b371 add cve reference
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=208
2023-04-27 12:40:22 +00:00
6b35b75868 - Sensitive data exposure (bsc#1210277, CVE-2023-1786)
+ Add hidesensitivedata 
  + Add cloud-init-cve-2023-1786-redact-inst-data.patch
  + Do not expose sensitive data gathered from the CSP

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=207
2023-04-27 12:35:39 +00:00
23246c72e5 - Add cloud-init-power-rhel-only.patch (bsc#1210273)
+ Config module cc_refresh_rmc_and_interface is implemented such that
    it will only work on RH distros. Set the module availability accordingly.

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=206
2023-04-27 12:24:25 +00:00
7037bc5725 responses package is only needed for testing, remove a runtime requirement
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=205
2023-03-27 13:46:35 +00:00
Dominique Leuenberger
2ae4318ae4 Accepting request 1068502 from Cloud:Tools
- Update to version 23.1
  + Remove patches included upstream:
    - cloud-init-btrfs-queue-resize.patch
    - cloud-init-micro-is-suse.patch
    - cloud-init-suse-afternm.patch
    - cloud-init-prefer-nm.patch
    - cloud-init-transact-up.patch
  + Forward port
    - cloud-init-write-routes.patch
  + Added
    - cloud-init-fix-ca-test.patch
  + Support transactional-updates for SUSE based distros (#1997)
    [Robert Schweikert]
  + Set ownership for new folders in Write Files Module (#1980)
    [Jack] (LP: #1990513)
  + add OpenCloudOS and TencentOS support (#1964) [wynnfeng]
  + lxd: Retry if the server isn't ready (#2025)
  + test: switch pycloudlib source to pypi (#2024)
  + test: Fix integration test deprecation message (#2023)
  + Recognize opensuse-microos, dev tooling fixes [Robert Schweikert]
  + sources/azure: refactor imds handler into own module (#1977)
    [Chris Patterson]
  + docs: deprecation generation support [1/2] (#2013)
  + add function is_virtual to distro/FreeBSD (#1957) [Mina Galić]
  + cc_ssh: support multiple hostcertificates (#2018) (LP: #1999164)
  + Fix minor schema validation regression and fixup typing (#2017)
  + doc: Reword user data debug section (#2019)
  + Overhaul/rewrite of certificate handling as follows: (#1962)
    [dermotbradley] (LP: #1931174)
  + disk_setup: use byte string when purging the partition table (#2012)

OBS-URL: https://build.opensuse.org/request/show/1068502
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/cloud-init?expand=0&rev=87
2023-03-02 22:01:51 +00:00
30442f28f8 cleanup merge message
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=204
2023-03-01 15:24:49 +00:00
5ddab47951 - Update to version 23.1
+ Remove patches included upstream:
    - cloud-init-btrfs-queue-resize.patch
    - cloud-init-micro-is-suse.patch
    - cloud-init-suse-afternm.patch
    - cloud-init-prefer-nm.patch
    - cloud-init-transact-up.patch
  + Forward port
    - cloud-init-write-routes.patch
  + Added
    - cloud-init-fix-ca-test.patch
  + Support transactional-updates for SUSE based distros (#1997)
    [Robert Schweikert]
  + Set ownership for new folders in Write Files Module (#1980)
    [Jack] (LP: #1990513)
  + add OpenCloudOS and TencentOS support (#1964) [wynnfeng]
  + lxd: Retry if the server isn't ready (#2025)
  + test: switch pycloudlib source to pypi (#2024)
  + test: Fix integration test deprecation message (#2023)
  + Recognize opensuse-microos, dev tooling fixes [Robert Schweikert]
  + sources/azure: refactor imds handler into own module (#1977)
    [Chris Patterson]
  + docs: deprecation generation support [1/2] (#2013)
  + add function is_virtual to distro/FreeBSD (#1957) [Mina Galić]
  + cc_ssh: support multiple hostcertificates (#2018) (LP: #1999164)
  + Fix minor schema validation regression and fixup typing (#2017)
  + doc: Reword user data debug section (#2019)
  + Overhaul/rewrite of certificate handling as follows: (#1962)
    [dermotbradley] (LP: #1931174)
  + disk_setup: use byte string when purging the partition table (#2012)

OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=203
2023-02-23 19:19:22 +00:00
4f812ec1c8 Include upstream PR reference for patch
OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=202
2023-02-04 17:13:52 +00:00