From ca53d6531348fb9d05a9cade7087deffe5e67c4f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= Date: Wed, 12 Oct 2016 14:58:34 +0200 Subject: [PATCH] drop ssh server key generation for s390(x) (#1383641) Let the keys to be created during runtime as on other arches. Signed-off-by: Brian C. Lane (cherry picked from commit 362e116cb5b7e7be4b095fec7f4ddf4be4e7cb71) --- share/templates.d/99-generic/runtime-postinstall.tmpl | 9 --------- 1 file changed, 9 deletions(-) diff --git a/share/templates.d/99-generic/runtime-postinstall.tmpl b/share/templates.d/99-generic/runtime-postinstall.tmpl index 99488bd1..299a6446 100644 --- a/share/templates.d/99-generic/runtime-postinstall.tmpl +++ b/share/templates.d/99-generic/runtime-postinstall.tmpl @@ -87,15 +87,6 @@ append etc/shadow "install::14438:0:99999:7:::" ## remove root password replace "root:\*:" "root::" etc/shadow -## s390-specific setup -%if basearch in ("s390", "s390x"): - ## generate ssh keys - runcmd ssh-keygen -q -C "" -N "" -t rsa -f ${root}/etc/ssh/ssh_host_rsa_key - runcmd ssh-keygen -q -C "" -N "" -t dsa -f ${root}/etc/ssh/ssh_host_dsa_key - chmod etc/ssh/ssh_host*_key 600 - chmod etc/ssh/ssh_host*_key.pub 644 -%endif - ## gconf settings gconfset /desktop/gnome/interface/accessibility bool true