diff options
| -rwxr-xr-x | builder/dnbd3-rootfs/hooks/cmdline/prepare-network-kcl-parameter.sh | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/builder/dnbd3-rootfs/hooks/cmdline/prepare-network-kcl-parameter.sh b/builder/dnbd3-rootfs/hooks/cmdline/prepare-network-kcl-parameter.sh index 0b1c1a14..6d6b9950 100755 --- a/builder/dnbd3-rootfs/hooks/cmdline/prepare-network-kcl-parameter.sh +++ b/builder/dnbd3-rootfs/hooks/cmdline/prepare-network-kcl-parameter.sh @@ -30,7 +30,5 @@ done # # if so, we should check what we get in $? mount -o bind /fake/cmdline /proc/cmdline -# check if it worked -if ! grep 'hiwi-test-28:eno1:none' /proc/cmdline; then - warn 'Haxing cmdline did not work :( sad pandaz...' -fi +grep ':enp0s3:off' /proc/cmdline || \ + warn 'Overwriting kernel commandline did not work.' |
