We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e763cc4 + 1c62af8 commit 6ca5595Copy full SHA for 6ca5595
lib/puppet/provider/network_config/redhat.rb
@@ -29,7 +29,7 @@
29
ALIAS_REGEX = %r{.{1,12}(?<!~|\.bak|\.old|\.orig|\.rpmnew|\.rpmorig|\.rpmsave)}
30
31
# @return [Regexp] The regular expression for interface scripts on redhat systems
32
- SCRIPT_REGEX = %r{\Aifcfg-[a-z]+[a-z\d]+(?::#{ALIAS_REGEX}|\.#{VLAN_RANGE_REGEX})?\Z}
+ SCRIPT_REGEX = %r{\Aifcfg-[a-z]+[a-z_\d]+(?::#{ALIAS_REGEX}|\.#{VLAN_RANGE_REGEX})?\Z}
33
34
NAME_MAPPINGS = {
35
ipaddress: 'IPADDR',
0 commit comments