Sync from SUSE:ALP:Source:Standard:1.0 cloud-netconfig revision e96c072bdb77d9aaadff0ae7ffb96739

This commit is contained in:
Adrian Schröter 2024-04-04 13:48:48 +02:00
parent 6722968117
commit e6fc05ea31
4 changed files with 35 additions and 9 deletions

BIN
cloud-netconfig-1.11.tar.bz2 (Stored with Git LFS)

Binary file not shown.

BIN
cloud-netconfig-1.13.tar.bz2 (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1,3 +1,24 @@
-------------------------------------------------------------------
Sat Mar 9 11:22:32 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
- Add version settings to Provides/Obsoletes
-------------------------------------------------------------------
Sat Mar 9 02:53:11 UTC 2024 - Robert Schweikert <rjschwei@suse.com>
- Update to version 1.12 (bsc#1221202)
+ If token access succeeds using IPv4 do not use the IPv6 endpoint
only use the IPv6 IMDS endpoint if IPv4 access fails.
-------------------------------------------------------------------
Mon Feb 26 16:24:48 UTC 2024 - Joachim Gleissner <jgleissner@suse.com>
- Add Provides/Obsoletes for dropped cloud-netconfig-nm
- Install dispatcher script into /etc/NetworkManager/dispatcher.d
on older distributions
- Add BuildReqires: NetworkManager to avoid owning dispatcher.d
parent directory
-------------------------------------------------------------------
Thu Feb 8 10:15:40 UTC 2024 - Joachim Gleissner <jgleissner@suse.com>
@ -124,10 +145,10 @@ Thu Jan 31 13:14:18 UTC 2019 - Joachim Gleissner <jgleissner@suse.com>
+ reduce timeout on metadata read (bsc#1112822)
-------------------------------------------------------------------
Tue May 29 19:16:31 UTC 2018 - jgleissner@suse.com
Fri Jun 1 06:51:37 UTC 2018 - jgleissner@suse.com
- Update to version 0.7:
+ no persistent names in Azure (bsc#1094271)
+ no persistent interface names in Azure (bsc#1095485)
-------------------------------------------------------------------
Wed Jan 17 10:51:05 UTC 2018 - jgleissner@suse.com

View File

@ -1,5 +1,5 @@
#
# spec file
# spec file for package cloud-netconfig
#
# Copyright (c) 2024 SUSE LLC
#
@ -48,7 +48,7 @@ ExclusiveArch: do-not-build
%endif
Name: %{base_name}%{flavor_suffix}
Version: 1.11
Version: 1.13
Release: 0
License: GPL-3.0-or-later
Summary: Network configuration scripts for %{csp_string}
@ -57,11 +57,14 @@ Group: System/Management
Source0: %{base_name}-%{version}.tar.bz2
BuildRoot: %{_tmppath}/%{name}-%{version}-build
BuildArch: noarch
BuildRequires: NetworkManager
BuildRequires: systemd-rpm-macros
BuildRequires: pkgconfig(udev)
Requires: curl
Requires: udev
Provides: cloud-netconfig
Provides: cloud-netconfig-nm = %{version}
Obsoletes: cloud-netconfig-nm < %{version}
Conflicts: cloud-netconfig
%if 0%{?suse_version} == 1315
%{?systemd_requires}
@ -71,8 +74,10 @@ Conflicts: cloud-netconfig
%define _scriptdir %{_libexecdir}/cloud-netconfig
%if 0%{?suse_version} > 1550
%define _netconfigdir %{_libexecdir}/netconfig.d
%define _dispatcherdir /usr/lib/NetworkManager/dispatcher.d
%else
%define _netconfigdir %{_sysconfdir}/netconfig.d
%define _dispatcherdir %{_sysconfdir}/NetworkManager/dispatcher.d
%endif
%description -n %{base_name}%{flavor_suffix}
@ -94,7 +99,7 @@ make install%{flavor_suffix} \
UDEVRULESDIR=%{_udevrulesdir} \
UNITDIR=%{_unitdir} \
NETCONFIGDIR=%{_netconfigdir} \
NMDISPATCHDIR=/usr/lib/NetworkManager/dispatcher.d
NMDISPATCHDIR=%{_dispatcherdir}
# Disable persistent net generator from udev-persistent-ifnames as
# it does not work for xen interfaces. This will likely produce a warning.
@ -132,7 +137,7 @@ ln -s %{_scriptdir}/cloud-netconfig-cleanup %{buildroot}/%{_sysconfdir}/sysconfi
%endif
%{_udevrulesdir}/*
%{_unitdir}/*
/usr/lib/NetworkManager
%{_dispatcherdir}
%doc README.md
%license LICENSE