File cloud-init-sysconf-path.patch of Package cloud-init.28546

--- 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)):
openSUSE Build Service is sponsored by