From 54e6d63f93e809ccffd63a526826be5384e8a20c Mon Sep 17 00:00:00 2001 From: Lukas Nykryn Date: Dec 10 2020 10:20:57 +0000 Subject: net-lib: strstr is not for globs (cherry picked from commit 1a3dcc8b46c967445794e679280a3fb3b8e77ae0) Resolves: #1712469 patch_name: 0010.patch present_in_specfile: true location_in_specfile: 10 squash_commits: true --- diff --git a/modules.d/40network/net-lib.sh b/modules.d/40network/net-lib.sh index 1e7f1b3..7b93f25 100755 --- a/modules.d/40network/net-lib.sh +++ b/modules.d/40network/net-lib.sh @@ -463,7 +463,7 @@ ip_to_var() { # ip= means anaconda-style static config argument cluster autoconf="$1" - if strstr "$autoconf" "*.*.*.*"; then + if strglob "$autoconf" "*.*.*.*"; then # ip= means anaconda-style static config argument cluster: # ip= gateway= netmask= hostname= mtu= # ksdevice={link|bootif|ibft||}