From 8e78e5b9d01d56c807ea4b08e6f05dfe46327d54 Mon Sep 17 00:00:00 2001 From: Jon Clausen Date: Mon, 3 Sep 2018 12:42:22 +0200 Subject: do not muck about with vt, but keep %end tag --- ks-template/hw/dell/R7425/100g-dtn.ks | 2 +- ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'ks-template') diff --git a/ks-template/hw/dell/R7425/100g-dtn.ks b/ks-template/hw/dell/R7425/100g-dtn.ks index 63e94e5..3461943 100644 --- a/ks-template/hw/dell/R7425/100g-dtn.ks +++ b/ks-template/hw/dell/R7425/100g-dtn.ks @@ -86,7 +86,7 @@ fi # return to the first vt #chvt 1 -#%end +%end %addon com_redhat_kdump --enable --reserve-mb='auto' 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 b27c8da..2e7368a 100644 --- a/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks +++ b/ks-template/hw/supermicro/SYS-5018D-FN8T/dtn-10g.ks @@ -61,9 +61,10 @@ kexec-tools # disallow root login via ssh: /bin/sed -i '' -e 's/#PermitRootLogin yes/PermitRootLogin no/' /etc/ssh/sshd_config /bin/sed -i '' -e 's/#ListenAddress 0.0.0.0/ListenAddress PRIIP/' /etc/ssh/sshd_config + # try to get access to the screen: -exec < /dev/tty6 > /dev/tty6 -chvt 6 +#exec < /dev/tty6 > /dev/tty6 +#chvt 6 # backticks don't work, but $() does CosmosHash=$(cat /proc/cmdline | sed -e 's/.*cosmoshash=//') @@ -79,7 +80,7 @@ else /bin/cosmos-bootstrap "http://gitproxy.nordu.net/ndn-sysconf.git" ${CosmosHash} COSMOSTAG fi # return to the first vt -chvt 1 +#chvt 1 %end %addon com_redhat_kdump --enable --reserve-mb='auto' -- cgit v1.1