summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlberto Contreras <alberto.contreras@canonical.com>2023-02-24 12:51:40 +0100
committerChad Smith <chad.smith@canonical.com>2023-02-24 16:13:47 -0700
commit92043f7ef97d5c9690ce4cdf6c997d968bd65aa2 (patch)
treea8dec76352c7a479957c03c13acb140901954e6e
parent58ded04a1fc5d6de95963924fb740438aaa7b9e4 (diff)
downloadcloud-init-git-92043f7ef97d5c9690ce4cdf6c997d968bd65aa2.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),
)