From 75d5a488c85ba6cc79fef6a6c74339a9f1301b3a Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Tue, 5 Jun 2012 19:12:38 +0200 Subject: [PATCH] Link fedora-core-6/70-install-ssh to common/70-install-ssh-rpm (only had whitespace changes) --- hooks/fedora-core-6/70-install-ssh | 45 +----------------------------- 1 file changed, 1 insertion(+), 44 deletions(-) mode change 100755 => 120000 hooks/fedora-core-6/70-install-ssh diff --git a/hooks/fedora-core-6/70-install-ssh b/hooks/fedora-core-6/70-install-ssh deleted file mode 100755 index dc64e76..0000000 --- a/hooks/fedora-core-6/70-install-ssh +++ /dev/null @@ -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 diff --git a/hooks/fedora-core-6/70-install-ssh b/hooks/fedora-core-6/70-install-ssh new file mode 120000 index 0000000..bfbe615 --- /dev/null +++ b/hooks/fedora-core-6/70-install-ssh @@ -0,0 +1 @@ +../common/70-install-ssh-rpm \ No newline at end of file