summaryrefslogtreecommitdiff
path: root/ks-template/hw
diff options
context:
space:
mode:
authorJon Clausen <jac@nordu.net>2018-08-01 14:29:46 +0200
committerJon Clausen <jac@nordu.net>2018-08-01 14:29:46 +0200
commit70e0dfffcaf6efa69386d52288d02e19e7324081 (patch)
treeed26d580ddfba5b77e4c093824740a2cb1df58d4 /ks-template/hw
parent0344b64a7bb6a1c47c22d85de886ebf900d158a4 (diff)
more specific match of 'cosmoshash' on kernel cmdline
Diffstat (limited to 'ks-template/hw')
-rw-r--r--ks-template/hw/dell/R7425/100g-dtn.ks2
-rw-r--r--ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks2
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