summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Contreras <alberto.contreras@canonical.com>2023-02-24 12:27:49 +0100
committerAlberto Contreras <alberto.contreras@canonical.com>2023-02-24 12:31:09 +0100
commite8c74a1d8db4419cb5e7a3278dda2c974ad1a224 (patch)
tree22a1ce69318384bece210b2b9d83943ae204e4cb
parente6dbef88f9de56ae014a5dc998ea2b1df592ab2c (diff)
downloadcloud-init-git-e8c74a1d8db4419cb5e7a3278dda2c974ad1a224.tar.gz
refresh patches against 23.1
patches: debian/patches/retain-netplan-world-readable.patch
-rw-r--r--debian/patches/retain-netplan-world-readable.patch12
1 files changed, 4 insertions, 8 deletions
diff --git a/debian/patches/retain-netplan-world-readable.patch b/debian/patches/retain-netplan-world-readable.patch
index eff11bd6..2e206a41 100644
--- a/debian/patches/retain-netplan-world-readable.patch
+++ b/debian/patches/retain-netplan-world-readable.patch
@@ -7,10 +7,8 @@ Forwarded: not-needed
Last-Update: 2023-01-09
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
-Index: cloud-init/cloudinit/features.py
-===================================================================
---- cloud-init.orig/cloudinit/features.py
-+++ cloud-init/cloudinit/features.py
+--- a/cloudinit/features.py
++++ b/cloudinit/features.py
@@ -59,7 +59,7 @@ only non-hashed passwords were expired.
(This flag can be removed after Jammy is no longer supported.)
"""
@@ -20,10 +18,8 @@ Index: cloud-init/cloudinit/features.py
"""
If ``NETPLAN_CONFIG_ROOT_READ_ONLY`` is True, then netplan configuration will
be written as a single root readon-only file /etc/netplan/50-cloud-init.yaml.
-Index: cloud-init/tests/unittests/distros/test_netconfig.py
-===================================================================
---- cloud-init.orig/tests/unittests/distros/test_netconfig.py
-+++ cloud-init/tests/unittests/distros/test_netconfig.py
+--- a/tests/unittests/distros/test_netconfig.py
++++ b/tests/unittests/distros/test_netconfig.py
@@ -592,32 +592,41 @@ class TestNetCfgDistroUbuntuNetplan(Test
(self.netplan_path(), V1_TO_V2_NET_CFG_OUTPUT, 0o600),
)