1
0
mirror of synced 2026-01-23 02:28:13 +00:00

2006-06-09 11:01:36 by steve

Added
This commit is contained in:
steve 2006-06-09 11:01:36 +00:00
parent 5111d31d68
commit c9687b92a7

37
hooks/centos4/70-install-ssh Executable file
View File

@ -0,0 +1,37 @@
#!/bin/sh
#
# This script installs OpenSSH upon the new system.
#
# Steve
# --
# http://www.steve.org.uk/
prefix=$1
#
# Source our common functions
#
if [ -e ../common.sh ]; then
. ../common.sh
fi
#
# Log our start
#
logMessage Script $0 starting
#
# Install the OpenSSH server.
#
chroot ${prefix} /bin/mount /proc
chroot ${prefix} /usr/bin/yum -y install openssh-server
chroot ${prefix} /bin/umount /proc
#
# Log our finish
#
logMessage Script $0 finished