1
0
mirror of synced 2026-01-15 15:56:10 +00:00
Dmitry Nedospasov efc9058c10 50-setup-hostname: added 127.0.1.1 with hostname for static ips, with FQDN for DHCP hosts
70-install-ssh: "ssh" package doesn't fully resolve on atleast the newer distros, changed the package "ssh" to "openssh-server"

80-install-kernel: new script to install a kernel for the pygrub flag

80-install-modules: added support for pygrub, this script is essentially ignored if pygrub is set. The kernel script will install modules in that case.
2010-04-17 03:12:52 +02:00

42 lines
581 B
Bash
Executable File

#!/bin/sh
#
# This script installs OpenSSH upon the new system.
#
# It must make sure that the server is not running before it exits
# otherwise the temporary mounted directory will not be unmountable.
#
# 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 ssh
#
installDebianPackage ${prefix} openssh-server
#
# Log our finish
#
logMessage Script $0 finished