Reported by olahaye74 on 13 Mar 2014 15:40 UTC
split the actual ssh_install script in smaller parts:
server-post-install
=> setup ssh for the server
generate host keys
update ssh_config and sshd_config
=> fix root user .ssh
=> enable the service on the head
=> start the service if not yet started
client-post-install (opkg-openssh-client)
=> setup ssh for the client image (run chrooted)
ssh_config
sshd_config
=> enable the service in the image
Remove the call to ssh_install from /usr/bin/post_rpm_install script.
NOTE:
/usr/bin/post_rpm_install is responsible to run the chrooted client-post-install in the images (after build image step). The nodes are down, thus it's not a problem is some scripts are run before ssh is configured (in the image).
Reported by olahaye74 on 13 Mar 2014 15:40 UTC split the actual ssh_install script in smaller parts:
Remove the call to ssh_install from /usr/bin/post_rpm_install script.
NOTE: /usr/bin/post_rpm_install is responsible to run the chrooted client-post-install in the images (after build image step). The nodes are down, thus it's not a problem is some scripts are run before ssh is configured (in the image).