diff options
| author | torben | 2015-11-12 14:37:43 +0100 |
|---|---|---|
| committer | torben | 2015-11-12 14:37:43 +0100 |
| commit | e5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a (patch) | |
| tree | b1ad80f43babbdd85674e5473b678bdf06971cb3 | |
| parent | Simulate rz pxe kcl. (diff) | |
| download | systemd-init-e5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a.tar.gz systemd-init-e5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a.tar.xz systemd-init-e5a8c3c14136c8ed6aa5fbe495d8fb82206bd65a.zip | |
Fixing kcl modification.
| -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.' |
