636f370494
- ci-Fix-metric-setting-for-ifcfg-network-connections-for.patch [RHEL-61224] - ci-fix-python3.13-Fix-import-error-for-passlib-on-Pytho.patch [RHEL-61224] - Resolves: RHEL-61224 (Configuring metric for default gateway is not working)
36 lines
1.2 KiB
Diff
36 lines
1.2 KiB
Diff
From 790caeb9a7ead41f5c2dbfc0968ac0fc08a7db70 Mon Sep 17 00:00:00 2001
|
|
From: Brett Holman <brett.holman@canonical.com>
|
|
Date: Tue, 5 Dec 2023 16:40:03 -0700
|
|
Subject: [PATCH 2/2] fix(python3.13): Fix import error for passlib on Python
|
|
3.13 (#4669)
|
|
|
|
RH-Author: xiachen <xiachen@redhat.com>
|
|
RH-MergeRequest: 111: Fix metric setting for ifcfg network connections for rhel (#5777)
|
|
RH-Jira: RHEL-61224
|
|
RH-Acked-by: Ani Sinha <anisinha@redhat.com>
|
|
RH-Acked-by: Emanuele Giuseppe Esposito <eesposit@redhat.com>
|
|
RH-Commit: [2/2] dc6114a60280bac272bb355f4ea4d4d5d3bc240a (xiachen/cloud-init-centos)
|
|
|
|
(cherry picked from commit 09b70436b3a0aae1fe24fdde6e8cdd7ee98d9c15)
|
|
Signed-off-by: Amy Chen <xiachen@redhat.com>
|
|
---
|
|
cloudinit/sources/DataSourceAzure.py | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/cloudinit/sources/DataSourceAzure.py b/cloudinit/sources/DataSourceAzure.py
|
|
index eb0304c3..93921010 100644
|
|
--- a/cloudinit/sources/DataSourceAzure.py
|
|
+++ b/cloudinit/sources/DataSourceAzure.py
|
|
@@ -58,7 +58,7 @@ try:
|
|
)
|
|
except (ImportError, AttributeError):
|
|
try:
|
|
- import passlib
|
|
+ import passlib.hash
|
|
|
|
blowfish_hash = passlib.hash.sha512_crypt.hash
|
|
except ImportError:
|
|
--
|
|
2.39.3
|
|
|