-
-post_install() {
- # ssh host key
- echo "creating ssh host keys ..."
- [ ! -f $root/etc/ssh_host_dsa_key ] && \
- $root/usr/bin/ssh-keygen -d -b 1024 -f $root//etc/ssh_host_dsa_key -N ""
- [ ! -f $root/etc/ssh_host_key ] && \
- $root/usr/bin/ssh-keygen -d -b 1024 -f $root/etc/ssh_host_key -N ""
- echo "done. "
- }