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 <bcl@redhat.com>
This commit is contained in:
Dan Horák 2016-10-12 14:58:34 +02:00 committed by Brian C. Lane
parent 59c3109b3e
commit 362e116cb5

View File

@ -87,15 +87,6 @@ append etc/shadow "install::14438:0:99999:7:::"
## remove root password ## remove root password
replace "root:\*:" "root::" etc/shadow 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 ## gconf settings
gconfset /desktop/gnome/interface/accessibility bool true gconfset /desktop/gnome/interface/accessibility bool true