forked from pool/cloud-init
Robert Schweikert
0e6e7e2b35
+ Short curcuit the conditional for identifying the sysconfig renderer. If we find ifup/ifdown accept the renderer as available. OBS-URL: https://build.opensuse.org/package/show/Cloud:Tools/cloud-init?expand=0&rev=151
12 lines
376 B
Diff
12 lines
376 B
Diff
--- cloudinit/net/sysconfig.py.orig
|
|
+++ cloudinit/net/sysconfig.py
|
|
@@ -758,6 +758,8 @@ def available_sysconfig(target=None):
|
|
for p in expected:
|
|
if not util.which(p, search=search, target=target):
|
|
return False
|
|
+ else:
|
|
+ return True
|
|
|
|
expected_paths = ['etc/sysconfig/network/scripts/functions.netconfig']
|
|
for p in expected_paths:
|