1
0
mirror of synced 2026-04-05 04:33:19 +00:00

Link fedora-core-6/70-install-ssh to common/70-install-ssh-rpm

(only had whitespace changes)
This commit is contained in:
Axel Beckert
2012-06-05 19:12:38 +02:00
parent e39b5a0edf
commit 75d5a488c8

View File

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

View File

@@ -0,0 +1 @@
../common/70-install-ssh-rpm