cloud-init/cloud-init-sysconf-path.patch

13 lines
417 B
Diff

--- cloudinit/net/sysconfig.py.orig
+++ cloudinit/net/sysconfig.py
@@ -1056,8 +1056,7 @@ def available(target=None):
return False
expected_paths = [
- "etc/sysconfig/network-scripts/network-functions",
- "etc/sysconfig/config",
+ 'etc/sysconfig/network/scripts/functions.netconfig'
]
for p in expected_paths:
if os.path.isfile(subp.target_path(target, p)):