From 70e0dfffcaf6efa69386d52288d02e19e7324081 Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Wed, 1 Aug 2018 14:29:46 +0200 Subject: more specific match of 'cosmoshash' on kernel cmdline --- ks-template/hw/dell/R7425/100g-dtn.ks | 2 +- ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks index 8efd925..92c2e46 100644 --- a/ks-template/hw/dell/R7425/100g-dtn.ks +++ b/ks-template/hw/dell/R7425/100g-dtn.ks @@ -61,7 +61,7 @@ kexec-tools exec < /dev/tty6 > /dev/tty6 chvt 6 # backticks don't work, but $() does -CosmosHash=$(cat /proc/cmdline | sed -e 's/.*hash=//') +CosmosHash=$(cat /proc/cmdline | sed -e 's/.*cosmoshash=//') if [ "x${CosmosHash}" = "x" ] then diff --git a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks index 49c99c2..0d91d29 100644 --- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks +++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks @@ -64,7 +64,7 @@ kexec-tools exec < /dev/tty6 > /dev/tty6 chvt 6 # backticks don't work, but $() does -CosmosHash=$(cat /proc/cmdline | sed -e 's/.*hash=//') +CosmosHash=$(cat /proc/cmdline | sed -e 's/.*cosmoshash=//') if [ "x${CosmosHash}" = "x" ] then -- cgit v1.1