summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortorben2015-11-12 14:37:43 +0100
committertorben2015-11-12 14:37:43 +0100
commite5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a (patch)
treeb1ad80f43babbdd85674e5473b678bdf06971cb3
parentSimulate rz pxe kcl. (diff)
downloadsystemd-init-e5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a.tar.gz
systemd-init-e5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a.tar.xz
systemd-init-e5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a.zip
Fixing kcl modification.
-rwxr-xr-xbuilder/dnbd3-rootfs/hooks/cmdline/prepare-network-kcl-parameter.sh6
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.'