OpenNebula / one-apps

Toolchain to build OpenNebula appliances
Apache License 2.0
12 stars 13 forks source link

Fix https://github.com/OpenNebula/one-apps/issues/75 #77

Closed mlturk closed 7 months ago

mlturk commented 7 months ago

Use same method to detect presence if system is capable of NETCFG_TYPE=scripts as in netcfg-scripts - by checking for presence of -x /etc/sysconfig/network-scripts/ifup, not just directory -d /etc/sysconfig/network-scripts/ which exists, because OS has put placeholder text file, describing that given configuration method is deprecated by OS.