From 9838da8b9efd243a0810ad92b0bd0bd3d0ae294c Mon Sep 17 00:00:00 2001 From: Jonathan Bauer Date: Thu, 23 Jul 2020 17:52:21 +0200 Subject: [slx-issue] relax regex for netboot version --- core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue') diff --git a/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue b/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue index 9639d67e..befe268b 100755 --- a/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue +++ b/core/modules/slx-issue/data/opt/openslx/scripts/openslx-create_issue @@ -65,7 +65,7 @@ fi tmpstatus="$(slx-tools fs_path_space /tmp | awk '{printf "%.1f", $2 / 1024 / 1024}')GiB ($tmpstatus)" # netboot version from cmdline, e.g. boot/bwlp/minilinux/1 to "MiniLinux 1" -netboot="$(grep -oP '(?<=slxbase=boot/bwlp/)\S+' /proc/cmdline | tr '/' ' ')" +netboot="$(grep -oP '(?<=slxbase=boot/)\S+' /proc/cmdline | tr '/' ' ')" # capitalize 'm' & 'l' netboot="${netboot^m}" netboot="${netboot^^l}" -- cgit v1.2.3-55-g7522